File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ Reference Guide
158158 analysis
159159 export
160160 rtllib
161+ PyRTL on GitHub <https://github.com/UCSBarchlab/pyrtl >
161162
162163Index
163164=====
Original file line number Diff line number Diff line change @@ -716,13 +716,13 @@ def __str__(self) -> str:
716716 if self .op_param is None :
717717 op_param = ""
718718 elif self .op == "C" :
719- op_param = f"({ self .op_param [ 0 ] } )"
719+ op_param = f"({ self .const_value } )"
720720 elif self .op == "s" :
721- op_param = f" [sel={ self .op_param } ]"
721+ op_param = f" [sel={ self .sel } ]"
722722 elif self .op == "m" or self .op == "@" :
723- op_param = f" [memid={ self .op_param [ 0 ] } mem={ self .op_param [ 1 ] .name } ]"
723+ op_param = f" [memid={ self .memid } mem={ self .mem .name } ]"
724724 elif self .op == "r" :
725- op_param = f" [reset_value={ self .op_param [ 0 ] } ]"
725+ op_param = f" [reset_value={ self .reset_value } ]"
726726 else :
727727 op_param = f" [op_param={ self .op_param } ]"
728728
You can’t perform that action at this time.
0 commit comments