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
Florent Kermarrec
4281a18deb
add stb signal
2013-04-02 21:13:21 +02:00
Sebastien Bourdeauducq
3be20f6ae4
dfii: adapt to new Record API
2013-04-02 00:15:42 +02:00
Sebastien Bourdeauducq
20bdd424c8
flow: adapt to new Record API
2013-04-01 22:15:23 +02:00
Sebastien Bourdeauducq
29b468529f
bus: replace simple bus module with new bidirectional Record
2013-04-01 21:54:21 +02:00
Sebastien Bourdeauducq
6a3c413717
New bidirectional-capable Record API
2013-04-01 21:53:33 +02:00
Sebastien Bourdeauducq
c4f4143591
New CSR API
2013-03-30 17:28:41 +01:00
Sebastien Bourdeauducq
4f4f260e76
Convert to new CSR API
2013-03-30 17:28:15 +01:00
Sebastien Bourdeauducq
633e5e6747
fhdl/module/finalize: pass additional args to do_finalize
2013-03-30 11:29:46 +01:00
Sebastien Bourdeauducq
caa19f9ab2
framebuffer: larger counters
2013-03-29 17:15:11 +01:00
Sebastien Bourdeauducq
7133d9abb0
m1crg: reset VGA clock generator
2013-03-29 17:14:48 +01:00
Sebastien Bourdeauducq
854c0461b4
framebuffer: process two pixels per system clock cycle
2013-03-28 20:46:16 +01:00
Sebastien Bourdeauducq
4dcec32010
top: allocate one more ASMI port to framebuffer
2013-03-28 20:46:00 +01:00
Sebastien Bourdeauducq
b603eaf7d4
m1crg: allow up to 150MHz pixel clock
2013-03-28 20:45:42 +01:00
Sebastien Bourdeauducq
8fd092ca12
crg: support VGA pixel clock reprogramming
2013-03-28 19:07:17 +01:00
Sebastien Bourdeauducq
8cf7c96a53
crg: use new platform.request
2013-03-26 23:08:35 +01:00
Sebastien Bourdeauducq
38e92eb92b
altera_quartus: fix clock domain name
2013-03-26 23:05:46 +01:00
Florent Kermarrec
e5bf5f42d6
adapt to mibuild & migen changes
2013-03-26 22:24:29 +01:00
Sebastien Bourdeauducq
3b19dfc412
Support for platform info
2013-03-26 19:17:35 +01:00
Sebastien Bourdeauducq
1e860c7472
Use new Mibuild generic_platform API
2013-03-26 17:57:17 +01:00
Sebastien Bourdeauducq
74cc4d22cd
generic_platform: remove obj in request + add lookup_request
2013-03-26 17:56:53 +01:00
Sebastien Bourdeauducq
574becc1fc
fhdl/specials: clean up clock domain handling
2013-03-26 11:58:34 +01:00