Skip to content

Commit

Permalink
add platform name to config options
Browse files Browse the repository at this point in the history
sbourdeauducq committed Jan 5, 2017
1 parent d8d5d54 commit 54e1ef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misoc/integration/soc_core.py
Original file line number Diff line number Diff line change
@@ -103,6 +103,7 @@ def __init__(self, platform, clk_freq,
if ident:
self.submodules.identifier = identifier.Identifier(ident)
self.config["CLOCK_FREQUENCY"] = int(clk_freq)
self.config["SOC_PLATFORM"] = platform.name

if with_timer:
self.submodules.timer0 = timer.Timer()

0 comments on commit 54e1ef8

Please sign in to comment.