Florent Kermarrec
45f7f8aff5
add tx_reset_fsm and rx_reset_fsm
2014-09-27 16:10:39 +02:00
Florent Kermarrec
c27f24c4c0
reorganize code
...
- use sys_clk of 166.66MHz and using it instead of sata clk.
- rename clocking to CRG since it also handles resets.
- create datapath and move code from gtx.
2014-09-27 15:34:28 +02:00
Florent Kermarrec
879478a6e4
clocking: clean up and add comments
2014-09-27 13:33:43 +02:00
Florent Kermarrec
387cf90cf8
host and device communicate with OOB, now need to fix ctrl
2014-09-26 23:30:30 +02:00
Florent Kermarrec
01da43ecb2
reset and lock of PLL OK. We see OOB signals on the link but they are not decoded by the device.
2014-09-26 22:31:32 +02:00
Florent Kermarrec
dfbec91a62
add modelsim simulation and start fixing init
2014-09-26 17:05:05 +02:00
Florent Kermarrec
c1fc0b9c97
update README with new Kintex-7 support
2014-09-26 10:36:29 +08:00
Florent Kermarrec
13fb9282db
targets: add simple design (vendor agnostic and usable on all platforms with UART pins).
...
Designing a SoC with Migen is easy, but we have to provide a very simple design that can
be used on all boards with only 1 clock and 2 UARTs pins defined. This will encourage the
newcomer to invest time in Migen/MiSoC and see its real potential.
2014-09-26 10:35:15 +08:00
Florent Kermarrec
1d053bd7ee
modify TestDesign to be able to simulate phy with host <--> device loopback
2014-09-25 15:37:49 +02:00
Florent Kermarrec
7e14c4fc51
move some logic outside of GTX
2014-09-25 15:23:56 +02:00
Florent Kermarrec
c008dfdd98
clean up (thanks to Sebastien)
2014-09-25 14:17:25 +02:00
Florent Kermarrec
111f527647
do some clean up
2014-09-24 22:26:33 +02:00
Florent Kermarrec
2fb418a373
use new MiSoC UART with phase accumulators
...
this will allow to speed up MiLa reads
2014-09-24 21:56:15 +02:00
Florent Kermarrec
435bc22fa0
integrate phy in test design and start fix syntax errors
2014-09-24 16:07:34 +02:00
Florent Kermarrec
18009303ae
instanciate device or host controller
2014-09-24 14:00:00 +02:00
Florent Kermarrec
60324295fa
manage clock domain crossing and data width conversion in gtx
2014-09-24 13:56:12 +02:00
Florent Kermarrec
f436069a04
create sata clock (sata_tx/2 for a 32 bits data path)
2014-09-24 13:55:06 +02:00
Florent Kermarrec
7790105913
realign rxdata / rxcharisk directly in gtx
2014-09-24 12:13:43 +02:00
Florent Kermarrec
f74471d027
add device ctrl skeleton (we will use it for simulation with the host)
2014-09-24 11:37:28 +02:00
Florent Kermarrec
d78cae1b57
more ctrl skeleton
2014-09-24 11:07:36 +02:00
Florent Kermarrec
71bfd036d0
add ctrl skeleton
2014-09-24 00:01:01 +02:00
Florent Kermarrec
fa509b3365
rearrange code and remove datapath for now
2014-09-23 23:03:32 +02:00
Florent Kermarrec
22ea5b08b0
clean up and add K7SATAGTXReconfig skeleton (empty but we don't need it for now)
2014-09-23 22:40:01 +02:00
Florent Kermarrec
674e0b3581
remove GTXE2_COMMON (we use in fact CPLL and not QPLL, GTXE2_COMMON was here in design just because of an old ISE bug)
...
(see http://www.xilinx.com/support/answers/45410.html for more information)
2014-09-23 22:17:08 +02:00
Florent Kermarrec
e0fd313ce0
add data path from another design (need to be adapted to SATA specification)
2014-09-23 17:36:11 +02:00
Florent Kermarrec
d55db1688b
add SATAGTX with RX/TX clocking and reset (no DRP for now)
2014-09-23 17:18:03 +02:00
Sebastien Bourdeauducq
410f250d2a
software: remove setjmp
2014-09-23 21:57:05 +08:00
Florent Kermarrec
cbbbf8de8b
add dict for fbdiv computation on GTXE2_COMMON
2014-09-23 14:11:14 +02:00
Florent Kermarrec
4aff15bb74
create k7satagtx.py and move GTXE2 primitive inside
2014-09-23 14:03:51 +02:00
Florent Kermarrec
7422b94f90
create GTXE2_CHANNEL & GTXE2_COMMON class / add IO signals and parameters
2014-09-23 13:57:02 +02:00
Florent Kermarrec
1a5a2d10e3
fill GTXE2_COMMON constants parameters and signals for SATA / disconnect unused output ports
2014-09-23 12:01:57 +02:00
Florent Kermarrec
fc64b44391
fill GTXE2_CHANNEL constants parameters and signals for SATA / disconnect unused output ports
2014-09-23 11:54:36 +02:00
Florent Kermarrec
ac8d8783cf
k7sataphy: add GTXE2_COMMON instance skeleton
2014-09-23 10:23:54 +02:00
Florent Kermarrec
bdf038f241
k7sataphy: add GTXE2_CHANNEL instance skeleton
2014-09-23 10:08:17 +02:00
Florent Kermarrec
7e31ef2152
init with repo with simple TestDesign
2014-09-22 13:36:43 +02:00
Sebastien Bourdeauducq
14d53526be
libbase: use __builtin_setjmp and __builtin_longjmp
2014-09-21 17:43:17 +08:00
Sebastien Bourdeauducq
503a2f00b5
mor1kx: sync
2014-09-12 16:00:32 +08:00
Florent Kermarrec
c0c17030fd
spi_flash: simplify usage by removing cmd, cmd_width, addr_width parameters
2014-09-04 15:23:39 +08:00
Sebastien Bourdeauducq
36434b62f0
sdram: merge DFII_PIX_RDDATA_SIZE and DFII_PIX_WRDATA_SIZE
2014-09-03 15:02:38 +08:00
Sebastien Bourdeauducq
2388bfabc3
bios: support DDR3 write leveling and read calibration. This makes the full DDR3 SODIMM work on the KC705.
2014-09-03 14:25:26 +08:00
Sebastien Bourdeauducq
a7b4550e59
sdramphy/initsequence: cleanup and expose DDR3 MR1 value
2014-09-03 14:21:30 +08:00
Florent Kermarrec
114890ee80
sdramphy/initsequence: clean up mr1/mr2 computation on DDR3 and enable Dynamic ODT
2014-09-02 10:54:29 +08:00
Sebastien Bourdeauducq
2234f50223
k7ddrphy: add bitslip control for incoming DQ
2014-09-01 19:54:39 +08:00
Sebastien Bourdeauducq
0eeb0ad9eb
targets/kc705: add ddrphy to CSR map
2014-09-01 16:40:10 +08:00
Sebastien Bourdeauducq
6decb357f1
bios: add sdrrderr
2014-09-01 15:23:37 +08:00
Sebastien Bourdeauducq
57335bdf3f
bios: add DQ filtering to sdrrd, add sdrrdbuf command
2014-09-01 14:58:58 +08:00
Sebastien Bourdeauducq
5483b37c8f
k7ddrphy: write leveling and read calibration support
2014-08-31 21:54:28 +08:00
Sebastien Bourdeauducq
19abe2b888
k7ddrphy: do not register T at SERDES (fixes timing problem)
2014-08-31 21:53:35 +08:00
Sebastien Bourdeauducq
a2096ff083
libcompiler-rt: add moddi3
2014-08-28 16:54:12 +08:00
Sebastien Bourdeauducq
541e5abbc7
k7ddrphy: update comment
2014-08-22 19:02:57 +08:00