Call finalize() after CRG creation
This commit is contained in:
parent
71c2c5813b
commit
05bc2885e9
|
@ -74,7 +74,6 @@ quartus_sta {build_name}.qpf
|
|||
class AlteraQuartusPlatform(GenericPlatform):
|
||||
def build(self, fragment, build_dir="build", build_name="top",
|
||||
quartus_path="/opt/Altera", run=True):
|
||||
self.finalize(fragment)
|
||||
tools.mkdir_noerror(build_dir)
|
||||
os.chdir(build_dir)
|
||||
|
||||
|
|
|
@ -209,6 +209,8 @@ class GenericPlatform:
|
|||
frag = fragment + crg.get_fragment()
|
||||
else:
|
||||
frag = fragment
|
||||
# finalize
|
||||
self.finalize(fragment)
|
||||
# generate Verilog
|
||||
src, vns = verilog.convert(frag, self.constraint_manager.get_io_signals(),
|
||||
return_ns=True, create_clock_domains=False, **kwargs)
|
||||
|
|
|
@ -151,7 +151,6 @@ class XilinxISEPlatform(GenericPlatform):
|
|||
|
||||
def build(self, fragment, build_dir="build", build_name="top",
|
||||
ise_path="/opt/Xilinx", source=True, run=True):
|
||||
self.finalize(fragment)
|
||||
tools.mkdir_noerror(build_dir)
|
||||
os.chdir(build_dir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue