projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdef862
)
Do not invert DDR3 CS pin on Icarus testbench
author
Cesar Strauss
<cestrauss@gmail.com>
Sat, 23 Jul 2022 17:29:45 +0000
(14:29 -0300)
committer
Cesar Strauss
<cestrauss@gmail.com>
Sat, 23 Jul 2022 17:29:45 +0000
(14:29 -0300)
It seems that IcarusECPIX5Platform does handle PinsN correctly.
gram/simulation/simsoctb.v
patch
|
blob
|
history
diff --git
a/gram/simulation/simsoctb.v
b/gram/simulation/simsoctb.v
index 7818b4e36de592fad9ed79e075c7dd9f8199c11b..388d1a78fcb8d3f3983ac20e835e59aeaf850e61 100644
(file)
--- a/
gram/simulation/simsoctb.v
+++ b/
gram/simulation/simsoctb.v
@@
-43,8
+43,6
@@
module simsoctb;
wire [1:0] dram_tdqs_n;
wire dram_rst;
- // anything here with "_n" has to be inverted. nmigen platforms
- // sort that out by inverting (with PinsN)
ddr3 #(
.check_strict_timing(0)
) ram_chip (
@@
-52,7
+50,7
@@
module simsoctb;
.ck(dram_ck),
.ck_n(~dram_ck),
.cke(dram_cke),
- .cs_n(
~
dram_cs_n),
+ .cs_n(dram_cs_n),
.ras_n(dram_ras_n),
.cas_n(dram_cas_n),
.we_n(dram_we_n),