mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
Solved bug in always_seq conversion to Verilog
--HG-- branch : 0.8-dev
This commit is contained in:
parent
64b9f4d359
commit
951d0d53ae
@ -1347,10 +1347,14 @@ class _ConvertAlwaysSeqVisitor(_ConvertVisitor):
|
||||
self.writeline()
|
||||
self.write("end")
|
||||
self.writeline()
|
||||
self.write("else")
|
||||
self.write("else begin")
|
||||
self.indent()
|
||||
self.visit_stmt(node.body)
|
||||
self.dedent()
|
||||
if reset is not None:
|
||||
self.writeline()
|
||||
self.write("end")
|
||||
self.dedent()
|
||||
self.writeline()
|
||||
self.write("end")
|
||||
self.writeline(2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user