From 907b7310ee09edc8129f499bce41dc20f01a8cc0 Mon Sep 17 00:00:00 2001 From: Hunter Nichols Date: Thu, 30 Aug 2018 15:16:54 -0700 Subject: [PATCH] Actually changed the noops default data in this commit. --- compiler/characterizer/delay.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compiler/characterizer/delay.py b/compiler/characterizer/delay.py index 6ab341d5..482bb86e 100644 --- a/compiler/characterizer/delay.py +++ b/compiler/characterizer/delay.py @@ -764,7 +764,7 @@ class delay(): self.add_address(address, port) - #This value is hard coded here. May want to make it a member variable or input to give control over this value + #This value is hard coded here. Possibly change to member variable or set in add_noop_one_port noop_data = "0"*self.word_size #Add noops to all other ports. for unselected_port in self.readwrite_ports+self.read_ports+self.write_ports: @@ -791,10 +791,12 @@ class delay(): self.add_data(data,port) self.add_address(address,port) + #This value is hard coded here. Possibly change to member variable or set in add_noop_one_port + noop_data = "0"*self.word_size #Add noops to all other ports. for readwrite_port in self.readwrite_ports+self.read_ports+self.write_ports: if readwrite_port != port: - self.add_noop_one_port(address, data, readwrite_port) + self.add_noop_one_port(address, noop_data, readwrite_port) def gen_test_cycles_one_port(self, read_port, write_port): """Intended but not implemented: Returns a list of key time-points [ns] of the waveform (each rising edge)