Commit Graph

917 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq a36a208dd1 sim: use (mandatory) ncycles when starting a simulation with no active functions 2014-04-13 15:16:27 +02:00
Florent Kermarrec fef08e8c70 mibuild: add bitstream_ext parameter to platforms 2014-04-11 23:28:39 +02:00
Florent Kermarrec 82e4980f5c mibuild/altera_quartus: set top_level_entity 2014-04-11 23:27:04 +02:00
Florent Kermarrec 600ce55f91 mibuild/altera_quartus: add support for verilog include 2014-04-11 23:24:51 +02:00
Robert Jordens ce378f47d3 test/SyncFIFOCase: better test bench termination 2014-04-07 00:05:08 +02:00
Robert Jordens e94f30f15d mibuild/xilinx_ise: move overwrite option to default options 2014-04-05 12:15:15 +02:00
Robert Jordens 9ff6cc8403 mibuild/xilinx: make par and map options configurable 2014-04-05 12:15:14 +02:00
Robert Jordens ac1363565d genlib/fifo: add SyncFIFOClassic and SyncFIFOBuffered 2014-04-05 12:15:14 +02:00
Robert Jordens 9deddbdfbc test/test_cordic: fix for new Simulation API 2014-03-24 15:01:44 -07:00
Robert Jordens 7649028bdc test/support: fix default ncycles 2014-03-24 15:01:44 -07:00
Robert Jordens 0023b742e4 genlib/coding: gracefully handle flen(i) < 2 2014-03-19 18:12:27 -07:00
Robert Jordens 0836f2814a bus/csr: new simulation api 2014-03-19 18:12:27 -07:00
Robert Jordens b03d9f4c14 genlib/fifo: add flush, expose level in SyncFIFO
AsyncFIFO would need versions of flush and level in each clock domain
plus some handshaking on double flush.

Signed-off-by: Robert Jordens <jordens@gmail.com>
2014-03-15 23:10:46 -07:00
Sebastien Bourdeauducq bf6ab2b4f6 mibuild/generic_platform: fix default value for connectors 2014-02-17 17:40:15 +01:00
Sebastien Bourdeauducq c98b9ecbcb mibuild/platforms/papilio_pro: add expansion connectors 2014-02-16 23:54:11 +01:00
Sebastien Bourdeauducq cb2c9f9f7a mibuild: support for expansion connectors 2014-02-16 23:53:50 +01:00
Sebastien Bourdeauducq d26330a9b9 Update doc with new simulation API 2014-02-07 23:08:59 +01:00
Sebastien Bourdeauducq 2ab939e69d fix SimActor TB terminations 2014-01-28 00:03:56 +01:00
Sebastien Bourdeauducq 90f0dfad63 Add 'passive' simulation functions that are not taken into account while determining when to stop the simulator 2014-01-27 23:58:46 +01:00
Sebastien Bourdeauducq 63c1d7e4b7 New simulation API 2014-01-26 22:19:43 +01:00
Sebastien Bourdeauducq 8f69d9b669 bank/eventmanager: add SharedIRQ 2014-01-06 22:13:06 +01:00
Robert Jordens be1c8551d2 migen/fhdl/tools: speed up group_by_targets (halves the mixxeo runtime) 2013-12-17 18:40:49 +01:00
Sebastien Bourdeauducq 4e9dc297fd platforms/rhino: add GPMC wait pin 2013-12-14 14:32:34 +01:00
Sebastien Bourdeauducq a20688f777 fhdl/simplify/FullMemoryWE: fix WE slice for multi-port mems 2013-12-13 00:02:50 +01:00
Sebastien Bourdeauducq 3196462311 add support for Verilog include paths 2013-12-12 23:17:51 +01:00
Sebastien Bourdeauducq adda930c68 fhdl/simplify: add FullMemoryWE decorator that splits memories to remove partial WEs 2013-12-12 17:37:31 +01:00
Sebastien Bourdeauducq adffec35f6 utils/misc: add gcd_multiple function to compute GCD or any number of integers 2013-12-12 17:36:50 +01:00
Sebastien Bourdeauducq c13fe1bc63 specials/Memory: allow for more flexibility in memory port signals 2013-12-12 17:36:17 +01:00
Sebastien Bourdeauducq 135a4fea25 fhdl/verilog: fix representation of negative integers
Give the explicit two's complement representation for the given bit width.

This results in less readable code compared to using unary minus,
but fixes a bug when trying to represent the most negative integer.
2013-12-11 22:26:10 +01:00
Robert Jordens d6cb981c7a migen/test/test_signed: add a (currently failing) signed comparison testcase 2013-12-10 23:33:53 +01:00
Robert Jordens 487df5b174 migen/fhdl/bitcontainer: fix signed arrays (map is an iterator) 2013-12-10 23:32:12 +01:00
Robert Jordens fe0263bb9a mibuild/xilinx_ise: use ngdbuild_opt also for xst case 2013-12-06 12:15:22 +01:00
Robert Jordens 0aa6329edb mibuild/xilinx_ise: add support for custom tools and options 2013-12-06 09:16:07 +01:00
Robert Jordens e09e85ec8e usrp_b100 platform 2013-12-03 22:51:52 +01:00
Robert Jordens 5447eb51ba add zedboard platform 2013-12-03 22:51:52 +01:00
Robert Jordens bfdc14fbc3 add initial ztex_115d platform 2013-12-03 22:51:52 +01:00
Sebastien Bourdeauducq 8d093a4a08 lx9 fixups 2013-12-03 22:51:52 +01:00
Robert Jordens 8d3d61ba98 fhdl.size: rename to bitcontainer 2013-12-03 22:51:52 +01:00
Robert Jordens 86ba9c8bbc migen.fhdl.size: verify fslice for negative values 2013-12-03 21:39:37 +01:00
Robert Jordens c71eb5778f migen.fhdl.structure: have Cat() flat_iteration-ize its arguments 2013-12-03 21:36:33 +01:00
Robert Jordens 1bf133755e migen.fhdl.tools: move flat_iteration to migen.util.misc as tools imports other things 2013-12-03 21:36:33 +01:00
Robert Jordens fe67210d77 migen.fhdl.size: add fiter(), fslice(), and freversed()
do not overload __len__, __iter__, __reversed__ as not all valid
expressions (ints and bools) have them. furthermore len([]) is and
should be different from flen([]) (the later raises an error). keep
__getitem__ as an exception that proves the rule ;)
2013-12-03 21:36:33 +01:00
Sebastien Bourdeauducq ae6b78faeb genlib/divider: fix diff computation 2013-12-02 17:56:03 +01:00
Sebastien Bourdeauducq ad70d056a8 examples/sim/cordic_err: fix rms_err function name 2013-12-02 13:18:37 +01:00
Sebastien Bourdeauducq b3c79738e1 examples/cordic/cordic_impl: do not fail if build dir does not exist 2013-12-02 13:03:26 +01:00
Robert Jordens dd24fdd356 genlib/sort: add bitonic, combinatorial sorter
complete with with api documentation and unittests
2013-12-02 12:56:36 +01:00
Robert Jordens ab48316fcd examples/cordic: scripted exploration of parameters space 2013-12-02 12:56:29 +01:00
Robert Jordens 9762546c95 genlib/cordic: cleanup, documentation, unittests 2013-12-02 12:56:24 +01:00
Robert Jordens e54fa6f5f4 migen/test: if SimCase is a TestCase, it's run in every module that imports it 2013-12-02 12:43:14 +01:00
Robert Jordens 4eef3b9399 migen/test/support: allow easy re-setUp of the testbench with different parameters 2013-12-02 12:42:59 +01:00