]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/lx-dad.git/log
fpga/lx-cpu1/lx-dad.git
9 years agoInclude simple scripts to build, load and run project on target.
Pavel Pisa [Sun, 15 Feb 2015 11:03:58 +0000 (12:03 +0100)]
Include simple scripts to build, load and run project on target.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoShift some external signals by half of clock cycle to visualize synchronization.
Pavel Pisa [Sun, 15 Feb 2015 10:55:49 +0000 (11:55 +0100)]
Shift some external signals by half of clock cycle to visualize synchronization.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoSimplify FPGA design external CPU read logic.
Pavel Pisa [Sun, 15 Feb 2015 10:55:02 +0000 (11:55 +0100)]
Simplify FPGA design external CPU read logic.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoGit ignore build outputs.
Pavel Pisa [Sun, 15 Feb 2015 10:54:11 +0000 (11:54 +0100)]
Git ignore build outputs.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoRemove nonstandard ieee.std_logic_arith and ieee.std_logic_unsigned libraries.
Pavel Pisa [Sun, 15 Feb 2015 03:08:47 +0000 (04:08 +0100)]
Remove nonstandard ieee.std_logic_arith and ieee.std_logic_unsigned libraries.

This makes GHDL happy and can be used in standard mode.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoInclude testbed for simulation in GHDL.
Pavel Pisa [Sun, 15 Feb 2015 02:54:39 +0000 (03:54 +0100)]
Include testbed for simulation in GHDL.

Some top level attributes required for safe build for real hardware
with asynchronous external access has to be disabled for GHDL simulation.

  -- XST attributes
  attribute REGISTER_DUPLICATION : string;
- attribute REGISTER_DUPLICATION of rd : signal is "NO";
+ --attribute REGISTER_DUPLICATION of rd : signal is "NO";
  attribute REGISTER_DUPLICATION of rd_f_s : signal is "NO";
- attribute REGISTER_DUPLICATION of bls : signal is "NO";
+ --attribute REGISTER_DUPLICATION of bls : signal is "NO";
  attribute REGISTER_DUPLICATION of bls_f_s : signal is "NO";
- attribute REGISTER_DUPLICATION of address : signal is "NO";
+ --attribute REGISTER_DUPLICATION of address : signal is "NO";
  attribute REGISTER_DUPLICATION of address_f_s : signal is "NO";
- attribute REGISTER_DUPLICATION of cs0_xc : signal is "NO";
+ --attribute REGISTER_DUPLICATION of cs0_xc : signal is "NO";
  attribute REGISTER_DUPLICATION of cs0_xc_f_s : signal is "NO";

  -- XST attributes
  attribute REGISTER_DUPLICATION : string;
- attribute REGISTER_DUPLICATION of rd : signal is "NO";
+ --attribute REGISTER_DUPLICATION of rd : signal is "NO";
  attribute REGISTER_DUPLICATION of rd_f_s : signal is "NO";
- attribute REGISTER_DUPLICATION of bls : signal is "NO";
+ --attribute REGISTER_DUPLICATION of bls : signal is "NO";
  attribute REGISTER_DUPLICATION of bls_f_s : signal is "NO";
- attribute REGISTER_DUPLICATION of address : signal is "NO";
+ --attribute REGISTER_DUPLICATION of address : signal is "NO";
  attribute REGISTER_DUPLICATION of address_f_s : signal is "NO";
- attribute REGISTER_DUPLICATION of cs0_xc : signal is "NO";
+ --attribute REGISTER_DUPLICATION of cs0_xc : signal is "NO";
  attribute REGISTER_DUPLICATION of cs0_xc_f_s : signal is "NO";

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoDisable use of unisim library to allow simulation by GHDL.
Pavel Pisa [Sun, 15 Feb 2015 02:50:08 +0000 (03:50 +0100)]
Disable use of unisim library to allow simulation by GHDL.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoInclude example of mapping dualported RAM mapping to example component.
Pavel Pisa [Sun, 15 Feb 2015 02:49:22 +0000 (03:49 +0100)]
Include example of mapping dualported RAM mapping to example component.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoInclude hardware design of FPGA peripherals to external LPC bus connection.
Pavel Pisa [Sun, 15 Feb 2015 00:36:19 +0000 (01:36 +0100)]
Include hardware design of FPGA peripherals to external LPC bus connection.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoSwitch LX_DAD default link variant to SDRAM.
Pavel Pisa [Fri, 13 Feb 2015 10:01:14 +0000 (11:01 +0100)]
Switch LX_DAD default link variant to SDRAM.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoInclude host tool to send code and FPGA configuration to LX_CPU board.
Pavel Pisa [Thu, 12 Feb 2015 23:55:02 +0000 (00:55 +0100)]
Include host tool to send code and FPGA configuration to LX_CPU board.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoPrepare build-able skeleton for LX_DAD application.
Pavel Pisa [Thu, 12 Feb 2015 23:47:42 +0000 (00:47 +0100)]
Prepare build-able skeleton for LX_DAD application.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
9 years agoLX_DAD project started.
Pavel Pisa [Thu, 12 Feb 2015 22:55:24 +0000 (23:55 +0100)]
LX_DAD project started.

The aim of this project is to experiment with Hamamatsu
diode array based spectrophotometer. LX_CPU1 board
designed by Petr Porazil is used as base for experiment.
Board combines NXP LPC4088, Xilinx Spartan 6 FPGA
and 32 MB of SDRAM.

Included template based on PiKRON embedded projects
to allow build of sysless and other libraries.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>