vendor.xilinx_{7series,ultrascale}: remove `grade` property.
authorwhitequark <whitequark@whitequark.org>
Wed, 8 Jul 2020 09:08:00 +0000 (09:08 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 8 Jul 2020 09:08:00 +0000 (09:08 +0000)
This was added in commit bfd4538d based on a misunderstanding of how
Xilinx part numbers work.
 * non-ultrascale 7-series parts don't have temperature grades;
 * ultrascale parts have temperature grade as a part of speed grade.

nmigen/vendor/xilinx_7series.py
nmigen/vendor/xilinx_ultrascale.py

index 0bf542444db624c5eed9971e300ece9e4b5c24c4..6e3017ff3555598f5934ae06317824d2695e94fb 100644 (file)
@@ -51,7 +51,6 @@ class Xilinx7SeriesPlatform(TemplatedPlatform):
     device  = abstractproperty()
     package = abstractproperty()
     speed   = abstractproperty()
-    grade   = None
 
     required_tools = ["vivado"]
     file_templates = {
@@ -73,7 +72,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform):
         """,
         "{{name}}.tcl": r"""
             # {{autogenerated}}
-            create_project -force -name {{name}} -part {{platform.device}}{{platform.package}}-{{platform.speed}}{{"-" + platform.grade if platform.grade else ""}}
+            create_project -force -name {{name}} -part {{platform.device}}{{platform.package}}-{{platform.speed}}
             {% for file in platform.iter_extra_files(".v", ".sv", ".vhd", ".vhdl") -%}
                 add_files {{file|tcl_escape}}
             {% endfor %}
index 6f905177260027cc5485097bbbccde5b9812688d..19bbeae286aac12c43f16930263e04b137192a62 100644 (file)
@@ -51,7 +51,6 @@ class XilinxUltraScalePlatform(TemplatedPlatform):
     device  = abstractproperty()
     package = abstractproperty()
     speed   = abstractproperty()
-    grade   = None
 
     required_tools = ["vivado"]
     file_templates = {
@@ -73,7 +72,7 @@ class XilinxUltraScalePlatform(TemplatedPlatform):
         """,
         "{{name}}.tcl": r"""
             # {{autogenerated}}
-            create_project -force -name {{name}} -part {{platform.device}}-{{platform.package}}-{{platform.speed}}{{"-" + platform.grade if platform.grade else ""}}
+            create_project -force -name {{name}} -part {{platform.device}}-{{platform.package}}-{{platform.speed}}
             {% for file in platform.iter_extra_files(".v", ".sv", ".vhd", ".vhdl") -%}
                 add_files {{file|tcl_escape}}
             {% endfor %}