Commit aea2975d by Zachary Snow

remove outdated TODOs

parent 357b2921
......@@ -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;
......
// 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment