From 55f611806164b5b125ddcfa4732ec8c2d735e561 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 2 Jun 2019 13:24:46 +0100 Subject: [PATCH] add MemSim, remove redundant signal --- src/experiment/score6600.py | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/src/experiment/score6600.py b/src/experiment/score6600.py index 4c55e0bd..dd48f2d5 100644 --- a/src/experiment/score6600.py +++ b/src/experiment/score6600.py @@ -24,7 +24,8 @@ from math import log class Memory(Elaboratable): def __init__(self, regwid, addrw): - depth = (1<>self.ddepth] + + def st(self, addr, data): + self.mem[addr>>self.ddepth] = data & ((1<