mirror of https://github.com/zachjs/sv2v.git
remove outdated TODOs
This commit is contained in:
parent
357b2921b3
commit
aea2975d66
|
|
@ -184,7 +184,6 @@ collectDescriptionM (part @ (Part _ _ _ _ name _ _)) =
|
|||
maybeTypeMap = Map.fromList $
|
||||
map (\(x, y) -> (x, fromJust y)) $
|
||||
filter (isJust . snd) params
|
||||
--- TODO FIXME XXX
|
||||
collectDeclM :: Decl -> Writer [(Identifier, Maybe (Maybe Type))] ()
|
||||
collectDeclM (Param Parameter _ x _) = tell [(x, Nothing)]
|
||||
collectDeclM (ParamType Parameter x v) =
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@
|
|||
- Author: Zachary Snow <zach@zachjs.com>
|
||||
- Initial Verilog AST Author: Tom Hawkins <tomahawkins@gmail.com>
|
||||
-
|
||||
- SystemVerilog data, net, and paramter declarations
|
||||
-
|
||||
- TODO: Normal parameters can be declared with no default value.
|
||||
- SystemVerilog data, net, and parameter declarations
|
||||
-}
|
||||
|
||||
module Language.SystemVerilog.AST.Decl
|
||||
|
|
|
|||
|
|
@ -52,12 +52,11 @@ module n_tdef #(
|
|||
end
|
||||
endmodule
|
||||
|
||||
// TODO Add support for parameters without default values.
|
||||
module o_nodef #(
|
||||
parameter a = 0,
|
||||
parameter a,
|
||||
parameter type T,
|
||||
parameter type U,
|
||||
parameter b = 0
|
||||
parameter b
|
||||
);
|
||||
T x = a;
|
||||
U y = b;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// TODO Add support for parameters without default values.
|
||||
module Module #(parameter type T, parameter N = 1);
|
||||
module Module #(parameter type T, parameter N);
|
||||
T t;
|
||||
type(t.a) x;
|
||||
type(t.b) y;
|
||||
|
|
|
|||
Loading…
Reference in New Issue