diff options
author | Elms <elmsfu@freshred.net> | 2018-06-19 15:59:36 -0700 |
---|---|---|
committer | Elms <elmsfu@freshred.net> | 2018-06-20 07:31:19 -0700 |
commit | ac47e8e13c54deace46c84816361240b5d688285 (patch) | |
tree | 02ddc328f5cdf364462542c4aa23e2e2e14acc6d /icebox | |
parent | 2c8539a90da325ca045ef92bbb24b54f9a1a0809 (diff) | |
download | icestorm-ac47e8e13c54deace46c84816361240b5d688285.tar.gz icestorm-ac47e8e13c54deace46c84816361240b5d688285.tar.bz2 icestorm-ac47e8e13c54deace46c84816361240b5d688285.zip |
icebox_hlc2asc: update to support device by family
Diffstat (limited to 'icebox')
-rwxr-xr-x | icebox/icebox_hlc2asc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/icebox/icebox_hlc2asc.py b/icebox/icebox_hlc2asc.py index a3e3b37..c26b173 100755 --- a/icebox/icebox_hlc2asc.py +++ b/icebox/icebox_hlc2asc.py @@ -535,13 +535,13 @@ class Main: self.device = fields[1][1:-1].lower() if self.device.startswith('lp') or self.device.startswith('hx'): self.device = self.device[2:] - if self.device == '1k': + if self.device.startswith('1k'): self.ic = icebox.iceconfig() self.ic.setup_empty_1k() - elif self.device == '8k': + elif self.device.startswith('8k'): self.ic = icebox.iceconfig() self.ic.setup_empty_8k() - elif self.device == '384': + elif self.device.startswith('384'): self.ic = icebox.iceconfig() self.ic.setup_empty_384() else: |