Minor updates:

* Set slew rate to slow
* SDRAM state engine: Don't wait for data strobes on reads
This commit is contained in:
Matt Harlum 2022-06-20 14:08:40 +00:00
parent 0a770dc2d6
commit b2a5c3fa75
4 changed files with 1099 additions and 1099 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ PRODID=72
DEFINES=makedefines autoconfig SERIAL=32'h${SERIAL} PRODID=${PRODID}
CABLE=usb21
CPLDFITFLAGS=-loc on -slew fast -init low -terminate keeper -unused float -power std -optimize speed -keepio
CPLDFITFLAGS=-loc on -slew slow -init low -terminate keeper -unused float -power std -optimize speed -keepio
.PHONY: all clean fit

View File

@ -211,7 +211,7 @@ begin
end else if (ram_cycle && z3_state >= Z3_START) begin
`cmd(cmd_active)
cycle_type <= ram_cycle_access;
ram_state <= 5'h1;
ram_state <= access_cycle_wait;
maddr_r[12:0] <= ADDR[23:11];
ba_r[1:0] <= ADDR[25:24];
cs_r_n[1:0] <= {ADDR[26],~ADDR[26]};

View File

@ -143,7 +143,7 @@ begin
begin
if (FCS_n_sync[1]) begin
z3_state <= Z3_IDLE;
end else if ((!DS0_n_sync[1] || !DS1_n_sync[1] || !DS2_n_sync[1] || !DS3_n_sync[1]) && DOE) begin
end else if (READ || (!DS0_n_sync[1] || !DS1_n_sync[1] || !DS2_n_sync[1] || !DS3_n_sync[1]) && DOE) begin
z3_state <= Z3_DATA;
end else begin
z3_state <= Z3_START;