summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorambikeshwar2015-08-13 13:32:10 +0530
committerambikeshwar2015-08-13 13:32:10 +0530
commit0b18163a841f1c5c985cdfb36ad1c79e662fee89 (patch)
tree12c73e41fc47a85ea7f61801f9c072642d8317c6 /src
parent702926504b4749ae26975393fde561f03eb8caf3 (diff)
downloadnghdl-0b18163a841f1c5c985cdfb36ad1c79e662fee89.tar.gz
nghdl-0b18163a841f1c5c985cdfb36ad1c79e662fee89.tar.bz2
nghdl-0b18163a841f1c5c985cdfb36ad1c79e662fee89.zip
changes done in ifspec file to add instance_id parameter to give user defined port id
Diffstat (limited to 'src')
-rwxr-xr-xsrc/model_generation.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/model_generation.py b/src/model_generation.py
index 38bec4d..805db82 100755
--- a/src/model_generation.py
+++ b/src/model_generation.py
@@ -556,6 +556,17 @@ for item in output_port:
in_port_table.append(port_table+port_name+description+direction+default_type+allowed_type+vector+vector_bounds+null_allowed)
parameter_table='''
+
+PARAMETER_TABLE:
+Parameter_Name: instance_id
+Description: "instance_id"
+Data_Type: real
+Default_Value: 0
+Limits: -
+Vector: no
+Vector_Bounds: -
+Null_Allowed: yes
+
PARAMETER_TABLE:
Parameter_Name: rise_delay fall_delay
Description: "rise delay" "fall delay"