commit
c615b50735
|
@ -17,7 +17,7 @@ class Core(Module):
|
||||||
self.clk_freq = clk_freq
|
self.clk_freq = clk_freq
|
||||||
|
|
||||||
# SATA PHY/Core/Frontend
|
# SATA PHY/Core/Frontend
|
||||||
self.submodules.sata_phy = LiteSATAPHY(platform.device, platform.request("sata"), "sata_gen2", clk_freq)
|
self.submodules.sata_phy = LiteSATAPHY(platform.device, platform.request("sys_clk"), platform.request("sata"), "sata_gen2", clk_freq)
|
||||||
self.submodules.sata_core = LiteSATACore(self.sata_phy)
|
self.submodules.sata_core = LiteSATACore(self.sata_phy)
|
||||||
self.submodules.sata_crossbar = LiteSATACrossbar(self.sata_core)
|
self.submodules.sata_crossbar = LiteSATACrossbar(self.sata_core)
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,7 @@ crc_tb:
|
||||||
$(CC) $(CFLAGS) $(INC) -o crc crc.c
|
$(CC) $(CFLAGS) $(INC) -o crc crc.c
|
||||||
$(CMD) crc_tb.py
|
$(CMD) crc_tb.py
|
||||||
|
|
||||||
scrambler_tb:
|
scrambler_tb: scrambler
|
||||||
$(CC) $(CFLAGS) $(INC) -o scrambler scrambler.c
|
|
||||||
$(CMD) scrambler_tb.py
|
$(CMD) scrambler_tb.py
|
||||||
|
|
||||||
cont_tb:
|
cont_tb:
|
||||||
|
@ -26,7 +25,7 @@ link_tb:
|
||||||
command_tb:
|
command_tb:
|
||||||
$(CMD) command_tb.py
|
$(CMD) command_tb.py
|
||||||
|
|
||||||
bist_tb:
|
bist_tb: scrambler
|
||||||
$(CMD) bist_tb.py
|
$(CMD) bist_tb.py
|
||||||
|
|
||||||
striping_tb:
|
striping_tb:
|
||||||
|
@ -35,5 +34,8 @@ striping_tb:
|
||||||
mirroring_tb:
|
mirroring_tb:
|
||||||
$(CMD) mirroring_tb.py
|
$(CMD) mirroring_tb.py
|
||||||
|
|
||||||
|
scrambler: scrambler.c
|
||||||
|
$(CC) $(CFLAGS) $(INC) -o $@ $<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm crc scrambler *.vcd
|
rm -f crc scrambler *.vcd
|
||||||
|
|
Loading…
Reference in New Issue