X-Git-Url: https://git.libre-soc.org/?p=soc.git;a=blobdiff_plain;f=src%2Fsoc%2Fexperiment%2Fdcache.py;h=6d1356a00fac56ab799cd613cf3ed2a522159bd9;hp=eab1b89c9019cbe372adda9a56c03f4b38dd2498;hb=78183662a64e0be018ad22de14f323c28e611f76;hpb=1feae784c28c2459694609f3b03eb3f499ad6356;ds=sidebyside diff --git a/src/soc/experiment/dcache.py b/src/soc/experiment/dcache.py index eab1b89c..6d1356a0 100644 --- a/src/soc/experiment/dcache.py +++ b/src/soc/experiment/dcache.py @@ -1017,35 +1017,32 @@ class Dcache(Elaboratable): # assert SET_SIZE_BITS <= TLB_LG_PGSZ # report "Set indexed by virtual address" severity FAILURE; assert (LINE_SIZE % ROW_SIZE) == 0 "LINE_SIZE not " \ - "multiple of ROW_SIZE -!- severity FAILURE" + "multiple of ROW_SIZE" - assert (LINE_SIZE % 2) == 0 "LINE_SIZE not power of" \ - "2 -!- severity FAILURE" + assert (LINE_SIZE % 2) == 0 "LINE_SIZE not power of 2" - assert (NUM_LINES % 2) == 0 "NUM_LINES not power of" \ - "2 -!- severity FAILURE" + assert (NUM_LINES % 2) == 0 "NUM_LINES not power of 2" assert (ROW_PER_LINE % 2) == 0 "ROW_PER_LINE not" \ - "power of 2 -!- severity FAILURE" + "power of 2" assert ROW_BITS == (INDEX_BITS + ROW_LINE_BITS) \ - "geometry bits don't add up -!- severity FAILURE" + "geometry bits don't add up" assert (LINE_OFF_BITS = ROW_OFF_BITS + ROW_LINEBITS) \ - "geometry bits don't add up -!- severity FAILURE" + "geometry bits don't add up" assert REAL_ADDR_BITS == (TAG_BITS + INDEX_BITS \ - + LINE_OFF_BITS) "geometry bits don't add up -!-" \ - "severity FAILURE" + + LINE_OFF_BITS) "geometry bits don't add up" assert REAL_ADDR_BITS == (TAG_BITS + ROW_BITS + ROW_OFF_BITS) \ - "geometry bits don't add up -!- severity FAILURE" + "geometry bits don't add up" assert 64 == wishbone_data_bits "Can't yet handle a" \ - "wishbone width that isn't 64-bits -!- severity FAILURE" + "wishbone width that isn't 64-bits" assert SET_SIZE_BITS <= TLB_LG_PGSZ "Set indexed by" \ - "virtual address -!- severity FAILURE" + "virtual address" # -- Latch the request in r0.req as long as we're not stalling # stage_0 : process(clk)