Sebastien Bourdeauducq
43ac5c8471
Remove undriven reset signals
2013-04-25 20:19:49 +02:00
Sebastien Bourdeauducq
de76faf757
Tell the Xilinx crapware that DCM_CLKGEN does not phase align, as some (but not all) of the ISE tools remark.
2013-04-25 20:18:45 +02:00
Sebastien Bourdeauducq
4ff1175dcf
Use the Migen asynchronous FIFO
2013-04-25 19:43:26 +02:00
Sebastien Bourdeauducq
d64b64501a
minimac3: move psync
2013-04-25 18:36:45 +02:00
Sebastien Bourdeauducq
85e06cc100
xilinx_ise: implement NoRetiming synthesis constraint
2013-04-25 14:57:45 +02:00
Sebastien Bourdeauducq
e97edd7253
genlib/fifo: disable retiming on Gray counter outputs
2013-04-25 14:57:07 +02:00
Sebastien Bourdeauducq
156ef43ace
genlib/cdc: add NoRetiming
2013-04-25 14:56:45 +02:00
Sebastien Bourdeauducq
b862b070d6
fhdl/verilog: recursive Special lowering
2013-04-25 14:56:26 +02:00
Sebastien Bourdeauducq
67c3119249
genlib/fifo: add asynchronous FIFO
2013-04-25 13:30:37 +02:00
Sebastien Bourdeauducq
fee228a09f
fhdl/specials/memory: do not write address register for async reads
2013-04-25 13:30:05 +02:00
Sebastien Bourdeauducq
6c08cd67aa
graycounter: expose binary output
2013-04-25 13:11:15 +02:00
Sebastien Bourdeauducq
0f9df2d732
genlib: add Gray counter
2013-04-24 19:13:36 +02:00
Florent Kermarrec
f599fe4ade
Support for resetless clock domains
2013-04-23 11:54:05 +02:00
Sebastien Bourdeauducq
bd0ae6592e
Add setup.py
2013-04-19 14:04:59 +02:00
Sebastien Bourdeauducq
6204bcfa10
README: fix quick intro
2013-04-19 14:00:46 +02:00
Sebastien Bourdeauducq
117b3b8ec7
adc: double-register asynchronous inputs
2013-04-19 12:32:12 +02:00
Werner Almesberger
0dca526a85
milkymist/adc/__init__.py: CounterADC - simple counter-based ADC
...
This is a revised version of the counter-based ADC.
2013-04-19 12:29:17 +02:00
Sebastien Bourdeauducq
29eaf068f3
xilinx_ise: do not attempt to source settings file on Windows
2013-04-16 22:55:24 +02:00
Sebastien Bourdeauducq
31b1960188
xilinx_ise: add --no-source option to disable sourcing of ISE settings file
2013-04-16 22:39:35 +02:00
Sebastien Bourdeauducq
b018fcedc4
dvisampler/chansync: set synced to 0 when control tokens do not arrive at the same time
2013-04-16 22:21:03 +02:00
Werner Almesberger
1ab89d6a62
tftp.h, tftp.c: add tftp_put
2013-04-16 19:23:12 +02:00
Werner Almesberger
22f39b9d26
tftp.c: use symbolic constant for block size
2013-04-16 19:23:12 +02:00
Werner Almesberger
944dd5932d
tftp.c (format_request): pass opcode as argument
2013-04-16 19:23:12 +02:00
Werner Almesberger
aafb3ef8d7
tftp.c: use uintNN_t instead of "unsigned short", etc.
2013-04-16 19:23:12 +02:00
Werner Almesberger
cdb5519272
tftp.h, tftp.c (tftp_get): make "buffer" void and use unsigned char internally
2013-04-16 19:23:12 +02:00
Werner Almesberger
effa71a811
tftp.c: make "packet_data" unsigned and optimize strcpy+strlen
2013-04-16 19:23:12 +02:00
Werner Almesberger
e0e447f0e0
tftp.c (rx_callback): simplify expressions containing unnecessary casts
2013-04-16 19:23:12 +02:00
Werner Almesberger
36613c7955
tftp.c: use symbolic constants for protocol opcodes
2013-04-16 19:23:12 +02:00
Werner Almesberger
65b807b63f
microudp.c: avoid redundant accesses into multi-level structures
2013-04-16 19:23:11 +02:00
Sebastien Bourdeauducq
ceb0a99d83
Change license to 2-clause BSD
2013-04-15 23:55:30 +02:00
Florent Kermarrec
9405729b95
update README
2013-04-15 16:26:49 +02:00
Florent Kermarrec
48c1a902e5
adapt to new CSR API
2013-04-14 18:23:37 +02:00
Sebastien Bourdeauducq
0d21711c1b
dvisampler/chansync: use Record.raw_bits()
2013-04-14 17:06:29 +02:00
Sebastien Bourdeauducq
8914969760
dvisampler/clocking: insert DCM_CLKGEN before PLL
2013-04-14 16:53:19 +02:00
Sebastien Bourdeauducq
f833bc9aa9
software/videomixer: use new csr.h
2013-04-14 16:33:00 +02:00
Sebastien Bourdeauducq
8e11fcf1d0
bus/csr/SRAM: fix Module conversion errors
2013-04-14 13:55:04 +02:00
Sebastien Bourdeauducq
ea63389823
fhdl: support len() on all values
2013-04-14 13:50:26 +02:00
Werner Almesberger
7a6e56492c
edid.py: sample SCL only every 64 clock cycles, to avoid bouncing
...
Possibly due to SCL rising fairly slowly (in the 0.5-1 us range),
bouncing has been observed while crossing the "forbidden" region
between Vil(max) and Vih(min).
By lowering the sample rate from once per system clock to once
every 64 clock cycles, we make sure we sample at most once during
the bounce interval and thus never see a false edge. (Although we
may see a rising edge one sample time late, which is perfectly
harmless.)
2013-04-12 22:48:46 +02:00
Werner Almesberger
59d64e92e8
mibuild: define memory card pins of the Milkymist One platorm
...
This patch adds the memory card pins to the M1 platform definition in
mibuild.
I've tentatively named them "mmc". As far as I can tell, "MMC" is not
trademarked ("MultiMediaCard" the new "eMMC" would be), and "MMC" is
commonly used in the industry in a descriptive way to refer to this
sort of interface.
The original Verilog-based M1 calls the interface "mc", but since
several names have changed between milkymist and -ng, I thought I'd
use a more familiar name.
Usage example (clock signal divided by powers of two on the MMC TPs):
https://github.com/wpwrak/ming-ddc-debug/blob/counter-on-mmc/build.py
- Werner
2013-04-12 09:51:57 +02:00
Sebastien Bourdeauducq
75d33a0c05
fhdl/verilog/_printinit: initialize undriven Special inputs (bug reported by Florent Kermarrec)
2013-04-11 18:55:49 +02:00
Sebastien Bourdeauducq
72ef4b9683
ioo+pytholite: use new Module API
2013-04-10 23:42:46 +02:00
Sebastien Bourdeauducq
4c9018ea17
fhdl/visit: add TransformModule
2013-04-10 23:42:14 +02:00
Sebastien Bourdeauducq
746acdacd1
ioo: move to genlib
2013-04-10 22:28:53 +02:00
Sebastien Bourdeauducq
1cc4c8ee9f
uio: remove Trampoline (Python 3.3 provides generator delegation instead)
2013-04-10 22:15:28 +02:00
Sebastien Bourdeauducq
950d3a4469
framebuffer: use new flow API
2013-04-10 21:34:15 +02:00
Sebastien Bourdeauducq
6ce856290a
flow: match record fields by position
2013-04-10 21:33:56 +02:00
Sebastien Bourdeauducq
df1ed32765
genlib/record/connect: add match_by_position
2013-04-10 21:33:45 +02:00
Sebastien Bourdeauducq
692794a21f
flow: use Module and new Record APIs
2013-04-10 19:12:42 +02:00
Sebastien Bourdeauducq
843f8a5bfc
platforms: add Papilio Pro
2013-04-08 20:28:23 +02:00
Sebastien Bourdeauducq
715d332c3d
crg: apply constraint to IO pins, not internal signals
2013-04-08 20:28:11 +02:00