Commit 12a9d95d authored by David Belohrad's avatar David Belohrad

feature: set_location_assignment in Quartus not expressive enough

added 'location' to have better dictionary input. Before:

syn_location_assignments = [{"what": "PIN_V33", "to": "mem_qkb_p[1]"},

now

syn_location_assignments = [{"location": "PIN_V33", "to": "mem_qkb_p[1]"},
parent 6bc1fd80
......@@ -172,6 +172,7 @@ class ToolQuartus(MakefileSyn):
property_dict = {
'what': None,
'name': None,
'location': None,
'type': None,
'from': None,
'to': None,
......@@ -188,6 +189,8 @@ class ToolQuartus(MakefileSyn):
words.append("-name")
words.append(property_dict['name'])
words.append('\\"%s\\"' % property_dict['value'])
if property_dict['location'] is not None:
words.append(property_dict['location'])
if property_dict['from'] is not None:
words.append("-from")
words.append(property_dict['from'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment