From: Sebastien Bourdeauducq Date: Fri, 11 Sep 2015 03:32:47 +0000 (-0700) Subject: style X-Git-Tag: 24jan2021_ls180~2099^2~3^2~108 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9849fb8be4d5c5c14be3164192f6f2d614049c4;p=litex.git style --- diff --git a/migen/fhdl/verilog.py b/migen/fhdl/verilog.py index 39d87d75..84031334 100644 --- a/migen/fhdl/verilog.py +++ b/migen/fhdl/verilog.py @@ -8,6 +8,7 @@ from migen.fhdl.bitcontainer import bits_for, flen from migen.fhdl.namer import Namespace, build_namespace from migen.fhdl.conv_output import ConvOutput + _reserved_keywords = { "always", "and", "assign", "automatic", "begin", "buf", "bufif0", "bufif1", "case", "casex", "casez", "cell", "cmos", "config", "deassign", "default", @@ -25,7 +26,8 @@ _reserved_keywords = { "specparam", "strong0", "strong1", "supply0", "supply1", "table", "task", "time", "tran", "tranif0", "tranif1", "tri", "tri0", "tri1", "triand", "trior", "trireg", "unsigned", "use", "vectored", "wait", "wand", "weak0", -"weak1", "while", "wire", "wor","xnor","xor"} +"weak1", "while", "wire", "wor","xnor","xor" +} def _printsig(ns, s): @@ -116,6 +118,7 @@ def _printexpr(ns, node): else: raise TypeError("Expression of unrecognized type: "+str(type(node))) + (_AT_BLOCKING, _AT_NONBLOCKING, _AT_SIGNAL) = range(3)