soc: report System clock to 3dp
This commit is contained in:
parent
0e164bb23c
commit
1fd99b366a
|
@ -731,7 +731,7 @@ class SoC(Module):
|
||||||
self.logger.info(colorer("Creating SoC... ({})".format(build_time())))
|
self.logger.info(colorer("Creating SoC... ({})".format(build_time())))
|
||||||
self.logger.info(colorer("-"*80, color="bright"))
|
self.logger.info(colorer("-"*80, color="bright"))
|
||||||
self.logger.info("FPGA device : {}.".format(platform.device))
|
self.logger.info("FPGA device : {}.".format(platform.device))
|
||||||
self.logger.info("System clock: {:3.2f}MHz.".format(sys_clk_freq/1e6))
|
self.logger.info("System clock: {:3.3f}MHz.".format(sys_clk_freq/1e6))
|
||||||
|
|
||||||
# SoC attributes ---------------------------------------------------------------------------
|
# SoC attributes ---------------------------------------------------------------------------
|
||||||
self.platform = platform
|
self.platform = platform
|
||||||
|
|
Loading…
Reference in New Issue