integration/soc: add FPGA device and System clock to logs.
This commit is contained in:
parent
02cba41d64
commit
04b8a91255
|
@ -661,6 +661,8 @@ class SoC(Module):
|
|||
self.logger.info(colorer("-"*80, color="bright"))
|
||||
self.logger.info(colorer("Creating SoC... ({})".format(build_time())))
|
||||
self.logger.info(colorer("-"*80, color="bright"))
|
||||
self.logger.info("FPGA device : {}.".format(platform.device))
|
||||
self.logger.info("System clock: {:3.2f}MHz.".format(sys_clk_freq/1e6))
|
||||
|
||||
# SoC attributes ---------------------------------------------------------------------------
|
||||
self.platform = platform
|
||||
|
|
Loading…
Reference in New Issue