Florent Kermarrec
563231fdfb
migen/genlib/cdc: fix BusSynchronizer
...
ping/pong token can be lost when:
- source clock domain starts before destination clock domain.
- a clock domain stops.
This fix add a timeout to detect such situation and create another token.
2015-09-19 12:21:54 +08:00
Sebastien Bourdeauducq
bfcc8f9661
sim: remove unneeded import
2015-09-19 12:18:20 +08:00
Sebastien Bourdeauducq
84f98b4632
genlib/CRG: fix variable name conflict
2015-09-19 11:18:44 +08:00
Sebastien Bourdeauducq
0a55ef5bc3
test: add divider
2015-09-18 11:07:14 +08:00
Sebastien Bourdeauducq
ec1d4edf84
sim: support Case
2015-09-17 17:25:06 +08:00
Sebastien Bourdeauducq
9d3fd50950
sim: variables are deprecated
2015-09-17 17:24:57 +08:00
Sebastien Bourdeauducq
2688d66ea1
sim: fix comb evaluation
2015-09-17 17:24:20 +08:00
Sebastien Bourdeauducq
049a8f082a
test/size: do not test removed functions
2015-09-17 17:23:19 +08:00
Sebastien Bourdeauducq
4a3a1bc5b0
test/coding: use new API
2015-09-17 17:22:59 +08:00
Sebastien Bourdeauducq
12cd390c0b
genlib/misc: add missing import
2015-09-17 17:22:44 +08:00
Sebastien Bourdeauducq
776579f0d7
fhdl/structure: all case statements should be lists
2015-09-17 17:22:24 +08:00
Sebastien Bourdeauducq
bcf62997f6
fhdl/bitcontainer: remove fiter
2015-09-17 17:22:03 +08:00
Sebastien Bourdeauducq
c2109f8f81
minor bugfixes
2015-09-17 15:20:27 +08:00
Sebastien Bourdeauducq
6e08df75ee
sim: support eval of slice, cat and mux
2015-09-17 14:39:36 +08:00
Sebastien Bourdeauducq
9dd3200ba2
fhdl/structure: fix namespace pollution
2015-09-17 14:39:17 +08:00
Sebastien Bourdeauducq
6569c516a1
test: bit reverse
2015-09-17 14:38:55 +08:00
Sebastien Bourdeauducq
0a92e346d3
fhdl/bitcontainer: remove fslice and freversed
2015-09-17 14:38:33 +08:00
Sebastien Bourdeauducq
fd88b9b8a3
test/constant: use new API
2015-09-17 11:08:40 +08:00
Robert Jordens
74c9159a01
add unittests for Constant
2015-09-17 11:06:04 +08:00
Sebastien Bourdeauducq
f5ab734bdf
fhdl/verilog: fix case value sort
2015-09-17 08:03:48 +08:00
Sebastien Bourdeauducq
e940c6d9b9
fhdl/structure: introduce Constant, autowrap for eq/ops, fix Signal as dictionary key problem
2015-09-15 12:38:02 +08:00
Sebastien Bourdeauducq
42afba2bbc
fhdl/decorators: remove traces of deprecated API
2015-09-12 19:44:35 +08:00
Sebastien Bourdeauducq
eb921fb957
genlib: remove reverse_bytes, FlipFlop, Counter
2015-09-12 19:40:29 +08:00
Sebastien Bourdeauducq
9667d61e84
genlib: cleanup CRG
2015-09-12 19:40:07 +08:00
Sebastien Bourdeauducq
1bdb9bee22
fhdl/decorators: remove deprecated API
2015-09-12 19:34:44 +08:00
Sebastien Bourdeauducq
336728413a
simplify imports, migen.fhdl.std -> migen
2015-09-12 19:34:07 +08:00
Sebastien Bourdeauducq
b43495aab1
build/xilinx: minor cleanup
2015-09-12 16:48:25 +08:00
Sebastien Bourdeauducq
047d1f48b5
test/support,signed,sort: use new simulator
2015-09-12 16:28:21 +08:00
Sebastien Bourdeauducq
8ee361ffe2
sim: refactor comb commit
2015-09-12 16:27:59 +08:00
Sebastien Bourdeauducq
5fa7f7414f
sim: support eval of nested lists
2015-09-12 16:01:53 +08:00
Sebastien Bourdeauducq
9556c335ea
genlib/sort: remove unneeded import
2015-09-12 15:21:42 +08:00
Sebastien Bourdeauducq
fa6d96bb9a
test/examples: do not attempt to run deleted examples
2015-09-12 15:13:45 +08:00
Sebastien Bourdeauducq
7bd72a16df
sim: support clock domains without sync
2015-09-12 15:12:57 +08:00
Sebastien Bourdeauducq
fd986210f8
simulator: support generators
2015-09-10 21:44:14 -07:00
Sebastien Bourdeauducq
10d89d81f4
new simulator: basic execution
2015-09-10 20:33:45 -07:00
Sebastien Bourdeauducq
49ef182305
fhdl/tools: add input lister
2015-09-10 20:33:10 -07:00
Sebastien Bourdeauducq
f9849fb8be
style
2015-09-10 20:32:47 -07:00
Sebastien Bourdeauducq
714ae43ab8
fhdl: remove features new simulator won't use
2015-09-10 18:29:57 -07:00
Sebastien Bourdeauducq
91ab3f0d01
remove genlib.misc.optree (use reduce instead)
2015-09-10 13:56:56 -07:00
Yves Delley
1dcd2ac1c0
fixed bug in value_bits_sign of mul operatiors
2015-09-10 10:53:26 -07:00
Sebastien Bourdeauducq
86f34e82c3
mibuild -> migen.build
2015-09-10 10:53:15 -07:00
Sebastien Bourdeauducq
f1dc008d32
Simulator will be rewritten
2015-09-05 15:07:00 -06:00
Sebastien Bourdeauducq
dec2e23fc7
Remove code that will be into MiSoC or other packages.
2015-09-05 15:06:04 -06:00
Florent Kermarrec
5253b0c06e
migen/actorlib/packet: fix source.error in Depacketizer
2015-08-19 01:12:07 +02:00
Florent Kermarrec
646667213e
migen/flow/actor: fix sop/eop validation in PipelinedActor (stb can be inactive when pipe_ce is active)
2015-08-09 19:54:38 +02:00
Sebastien Bourdeauducq
f32f9be17a
resetless -> reset_less
2015-07-27 11:46:11 +08:00
Sebastien Bourdeauducq
cc6877df9e
fhdl: allow use of ResetSignal() on resetless clock domains
2015-07-27 01:51:52 +08:00
Sebastien Bourdeauducq
5a535ef347
Revert "migen/actorlib/fifo: add FIFO wrapper function"
...
This reverts commit d0a19c4be8
.
2015-07-24 19:25:36 +08:00
Florent Kermarrec
d0a19c4be8
migen/actorlib/fifo: add FIFO wrapper function
...
Allow automatic instantiation of the correct fifo (SyncFIFO or AsyncFIFO) according to the clock domains passed in argument.
2015-07-24 13:02:54 +02:00
Florent Kermarrec
1f1ff5a5e9
migen/fhdl/tools: fix rename_clock_domain when new == old
...
Clock domain renaming should support new == old to allow programmatically determined clock domain renaming.
2015-07-24 12:48:51 +02:00