[Libre-soc-dev] daily kan-ban update 30jul2021

Tobias Platen libre-soc at platen-software.de
Fri Jul 30 20:02:11 BST 2021


python3 soc/src/soc/experiment/compldst_multi.py gives me:

ROW_SIZE 8
ROW_PER_LINE 8
BRAM_ROWS 128
NUM_WAYS 4
  ..  tag    |index|  line  |
  ..         |   row   |    |
  ..         |     |---|    | ROW_LINE_BITS  (3)
  ..         |     |--- - --| LINE_OFF_BITS (6)
  ..         |         |- --| ROW_OFF_BITS  (3)
  ..         |----- ---|    | ROW_BITS      (8)
  ..         |-----|        | INDEX_BITS    (5)
  .. --------|              | TAG_BITS      (45)

Dcache TAG 46 IDX 4 ROW_BITS 7 ROFF 3 LOFF 6 RLB 3
index @: 6-10
row @: 6-3
tag @: 10-56 width 48
TAG_RAM_WIDTH 192
unsigned(8)
loadstoreunit addr mask data 48 8 64
pi2lsui reg mask addr 64 8 48
Traceback (most recent call last):
  File "compldst_multi.py", line 819, in <module>
    test_scoreboard_regspec()
  File "compldst_multi.py", line 810, in test_scoreboard_regspec
    dut = TestLDSTCompUnitRegSpec(pspec)
  File "compldst_multi.py", line 790, in __init__
    pi = l0.l0.dports[0].pi
  File "/home/isengaara/Hacking/libre-soc/nmigen/nmigen/hdl/rec.py",
line 146, in __getattr__
    return self[name]
  File "/home/isengaara/Hacking/libre-soc/nmigen/nmigen/hdl/rec.py",
line 158, in __getitem__
    .format(reference, item, ", ".join(self.fields))) from None
AttributeError: Record 'ldst_port0' does not have a field 'pi'. Did you
mean one of: is_ld_i, is_st_i, data_len, busy_o, go_die_i, addr,
addr_ok_o, exc_o, ld, st, is_dcbz, is_nc, msr_pr, mmu_done, ldst_error,
cache_paradox?
AttributeError: Record 'ldst_port0' does not have a field 'pi'. Did you
mean one of: is_ld_i, is_st_i, data_len, busy_o, go_die_i, addr,
addr_ok_o, exc_o, ld, st, is_dcbz, is_nc, msr_pr, mmu_done, ldst_error,
cache_paradox?

On Fri, 2021-07-30 at 20:46 +0200, Tobias Platen wrote:
> today: fixing the unit test included in
> src/soc/experiment/compldst_multi.py
> 
> 
> 
> _______________________________________________
> Libre-soc-dev mailing list
> Libre-soc-dev at lists.libre-soc.org
> http://lists.libre-soc.org/mailman/listinfo/libre-soc-dev




More information about the Libre-soc-dev mailing list