Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
tilk committed Nov 26, 2024
1 parent 8a4f0bf commit 1dadeb2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion coreblocks/core_structs/rf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class RegisterFile(Elaboratable):
def __init__(self, *, gen_params: GenParams):
self.gen_params = gen_params
layouts = gen_params.get(RFLayouts)
self.internal_layout = make_layout(("reg_val", gen_params.isa.xlen), ("valid", 1))
self.read_layout = layouts.rf_read_out
self.entries = memory.Memory(shape=gen_params.isa.xlen, depth=2**gen_params.phys_regs_bits, init=[])
self.valids = Array(Signal(init=k == 0) for k in range(2**gen_params.phys_regs_bits))
Expand Down

0 comments on commit 1dadeb2

Please sign in to comment.