Merge pull request #1068 from mmicko/efinix_pgm_fix

efinix: set defaults for efx_pgm pass
This commit is contained in:
enjoy-digital 2021-10-15 17:42:12 +02:00 committed by GitHub
commit 942d3165bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -237,7 +237,12 @@ class EfinityToolchain():
self.false_paths = set() self.false_paths = set()
self.efinity_path = efinity_path self.efinity_path = efinity_path
self.additional_sdc_commands = [] self.additional_sdc_commands = []
self.additional_xml_commands = [] self.additional_xml_commands = [
[ 'efx_pgm', 'spi_low_power_mode', 'on', 'e_bool'],
[ 'efx_pgm', 'io_weak_pullup', 'on', 'e_bool'],
[ 'efx_pgm', 'oscillator_clock_divider', 'DIV8', 'e_option'],
[ 'efx_pgm', 'enable_crc_check', 'on', 'e_bool'],
]
self.ifacewriter = InterfaceWriter(efinity_path) self.ifacewriter = InterfaceWriter(efinity_path)
self.specials_gpios = [] self.specials_gpios = []
self.additional_iface_commands = [] self.additional_iface_commands = []