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 8dc5f7a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions coreblocks/core_structs/rf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from coreblocks.params import GenParams
from transactron.lib.metrics import HwExpHistogram, TaggedLatencyMeasurer
from transactron.utils.amaranth_ext.functions import popcount
from transactron.utils.transactron_helpers import make_layout

__all__ = ["RegisterFile"]

Expand All @@ -14,7 +13,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 8dc5f7a

Please sign in to comment.