X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Pretty.hs;h=7c9840450339be35f57184f950824042fcc41283;hb=e2a1b9504807512be2e613c9e8822658be6fa626;hp=65645760959aa7f314633f0848c7a14617d39a5b;hpb=322d29e9564826fc9e7e3c743c38a0d5d353594e;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Pretty.hs b/Pretty.hs index 6564576..7c98404 100644 --- a/Pretty.hs +++ b/Pretty.hs @@ -61,9 +61,11 @@ instance Pretty SignalInfo where ppname (Just name) = text ":" <> text name instance Pretty SigUse where - pPrint SigPort = text "P" + pPrint SigPortIn = text "PI" + pPrint SigPortOut = text "PO" pPrint SigInternal = text "I" - pPrint SigState = text "S" + pPrint (SigStateOld n) = text "SO:" <> int n + pPrint (SigStateNew n) = text "SN:" <> int n pPrint SigSubState = text "s" instance Pretty VHDLSession where