File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
saw-central/src/SAWCentral/Yosys Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,9 @@ primCellToMap sc c args =
300300 -- "$concat" -> _
301301 CellTypeDff -> pure Nothing
302302 CellTypeFf -> pure Nothing
303+ CellTypeBUF ->
304+ do res <- input " A"
305+ output res
303306 CellTypeUnsupportedPrimitive _ -> pure Nothing
304307 CellTypeUserType _ -> pure Nothing
305308 where
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ textToPrimitiveCellType = Map.fromList
135135 , (" $bmux" , CellTypeBmux )
136136 , (" $dff" , CellTypeDff )
137137 , (" $ff" , CellTypeFf )
138+ , (" $_BUF_" , CellTypeBUF )
138139 ]
139140
140141-- | Mapping from primitive cell types to textual representation
@@ -183,6 +184,7 @@ data CellType
183184 | CellTypeBmux
184185 | CellTypeDff
185186 | CellTypeFf
187+ | CellTypeBUF
186188 | CellTypeUnsupportedPrimitive Text
187189 | CellTypeUserType Text
188190 deriving (Eq , Ord )
You can’t perform that action at this time.
0 commit comments