@@ -152,13 +152,13 @@ def create_base_parser():
152152 "--num-ports" , type = int , default = 10 , help = "Number of BufferedPorts"
153153 )
154154 parser .add_argument (
155- "--maximum-packets " , type = int , default = 0 , help = "Maximum packets "
155+ "--maximum-values " , type = int , default = 0 , help = "Maximum values "
156156 )
157157 parser .add_argument (
158- "--packets -per-port-per-window" ,
158+ "--values -per-port-per-window" ,
159159 type = int ,
160160 default = 1 ,
161- help = "Packets per port per window" ,
161+ help = "values per port per window" ,
162162 )
163163 return parser
164164
@@ -254,7 +254,7 @@ def main():
254254 layers = [
255255 Layer (
256256 buffered_ports = buffered_ports ,
257- max_packets = args .maximum_packets ,
257+ max_values = args .maximum_values ,
258258 schedule_path = schedule_path ,
259259 crosspoint_delay = NetworkDelays .CROSSPOINT_DELAY .value ,
260260 merger_delay = NetworkDelays .MERGER_DELAY .value ,
@@ -263,7 +263,7 @@ def main():
263263 variability_counting_network = NetworkDelays .VARIABILITY_COUNTING_NETWORK .value ,
264264 crosspoint_setup_time = NetworkDelays .CROSSPOINT_SETUP_TIME .value ,
265265 hold_time = NetworkDelays .CROSSPOINT_HOLD_TIME .value ,
266- packets_per_port_per_window = args .packets_per_port_per_window ,
266+ values_per_port_per_window = args .values_per_port_per_window ,
267267 clk_domain = SrcClockDomain (
268268 clock = frequency ,
269269 voltage_domain = VoltageDomain (),
@@ -288,8 +288,8 @@ def main():
288288 power_and_area = calculate_power_and_area (radix = (num_ports * 2 ))
289289 print ()
290290
291- if args .maximum_packets :
292- print (f"Maximum Packets : { args .maximum_packets } " )
291+ if args .maximum_values :
292+ print (f"Maximum values : { args .maximum_values } " )
293293 if getattr (args , "file_path" , None ):
294294 print (f"File Path: { args .file_path } " )
295295 print ()
0 commit comments