Rev 200 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 200 | Rev 425 | ||
---|---|---|---|
Line 93... | Line 93... | ||
93 | begin |
93 | begin |
94 | state = RFSH1; // for simulation only! |
94 | state = RFSH1; // for simulation only! |
95 | rfsh_alt = 1'b0; |
95 | rfsh_alt = 1'b0; |
96 | end |
96 | end |
97 | 97 | ||
98 | 98 | /* |
|
99 | `ifdef SIMULATE |
99 | `ifdef SIMULATE |
100 | always @(posedge clk) |
100 | always @(posedge clk) |
101 | begin |
101 | begin |
102 | if( req && !rnw && (state==RD4 || state==WR4 || state==RFSH4) ) |
102 | if( req && !rnw && (state==RD4 || state==WR4 || state==RFSH4) ) |
103 | begin |
103 | begin |
104 | $display("written word %x mask %x to address %x",wrdata&{ {8{bsel[1]}}, {8{bsel[0]}} },{ {8{bsel[1]}}, {8{bsel[0]}} },addr); |
104 | $display("written word %x mask %x to address %x",wrdata&{ {8{bsel[1]}}, {8{bsel[0]}} },{ {8{bsel[1]}}, {8{bsel[0]}} },addr); |
105 | end |
105 | end |
106 | end |
106 | end |
107 | `endif |
107 | `endif |
108 | 108 | */ |
|
109 | 109 | ||
110 | always @(posedge clk) |
110 | always @(posedge clk) |
111 | begin |
111 | begin |
112 | state <= next_state; |
112 | state <= next_state; |
113 | end |
113 | end |