diff options
| author | azidar | 2015-12-11 12:24:46 -0800 |
|---|---|---|
| committer | azidar | 2016-01-16 14:28:17 -0800 |
| commit | d9f33f58c94382dfbd22e87e2f85600b9807328f (patch) | |
| tree | d822ec8274ef15a2b71097b836987f90b88c02a7 /src/main/stanza/ir-utils.stanza | |
| parent | 5dfed8b731764834e4d16197d4f8c31f16daff75 (diff) | |
WIP getting through tests
Diffstat (limited to 'src/main/stanza/ir-utils.stanza')
| -rw-r--r-- | src/main/stanza/ir-utils.stanza | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/stanza/ir-utils.stanza b/src/main/stanza/ir-utils.stanza index 7201b8ed..9c997f39 100644 --- a/src/main/stanza/ir-utils.stanza +++ b/src/main/stanza/ir-utils.stanza @@ -339,12 +339,12 @@ defmethod print (o:OutputStream, t:Type) : print(o, "Clock") (t:UIntType) : match(width(t)) : - (w:UnknownWidth) : print-all(o, ["UInt"]) - (w) : print-all(o, ["UInt<" width(t) ">"]) + (w:IntWidth) : print-all(o, ["UInt<" width(t) ">"]) + (w) : print-all(o, ["UInt"]) (t:SIntType) : match(width(t)) : - (w:UnknownWidth) : print-all(o, ["SInt"]) - (w) : print-all(o, ["SInt<" width(t) ">"]) + (w:IntWidth) : print-all(o, ["SInt<" width(t) ">"]) + (w) : print-all(o, ["SInt"]) (t:BundleType) : print(o, "{") print-all(o, join(fields(t), ", ")) |
