hdl.mem: tie rdport.en high for asynchronous or transparent ports.

This commit is contained in:
whitequark 2018-12-21 04:22:16 +00:00
parent 8d58cbf230
commit a061bfaa6c
3 changed files with 12 additions and 12 deletions

View file

@ -17,7 +17,6 @@ class RegisterFile:
m.d.comb += [
rdport.addr.eq(self.adr),
self.dat_r.eq(rdport.data),
rdport.en.eq(1),
wrport.addr.eq(self.adr),
wrport.data.eq(self.dat_w),
wrport.en.eq(self.we),