vertigo_vhdl 0.8.13 → 0.8.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f7eecaed2d4b5a72e742bb50665fe8dc039c540ba3ccf97a5c78938b3eadec4
4
- data.tar.gz: 04eaa1b607442048ef566c5bd067bf9c93e37bca35f8c60ed44301a6454423f1
3
+ metadata.gz: 635b13128c3f914c6626e38592085949ea68dce1b7b73476586f6876869217d7
4
+ data.tar.gz: 9e615326ef6eaec062919f0f0ed910d317fa21cefea6a20512ddf335599ed7c5
5
5
  SHA512:
6
- metadata.gz: b4d1b525899302571608d769efd34992e00310f9a851b920e82a39441e86fcfffa602f65ced5747c95acd5c75b44f610e190fe650dd1feb85acfe738c83ef8d7
7
- data.tar.gz: 95862bbfc72888c6f48433ac4c019fbbf8294543f2e3b5a2db3cffce76fe867172bc1fba446602900b8591906ad059b7051cac7cbeedf74881c9c13446b10d68
6
+ metadata.gz: 1e1d0f67ff7ea8fd521db96b711d917362faade0487936f915614ad8490074caf76fff9021b34662267467d7642acdfd8c8f0a0d670570cfa3bb59b414b9d468
7
+ data.tar.gz: 862a444335445f42fe6a1aeacf9b9a59f523ea3168d267a2791cd7c38ec3f5e4e785145db8eaf5dcadaa1a469079b8bdd7e646b7531290949521c2a8038cda5e
@@ -15,7 +15,7 @@ module Vertigo
15
15
  end
16
16
 
17
17
  def lex filename
18
- unless File.exists?(filename)
18
+ unless File.exist?(filename)
19
19
  raise "ERROR : cannot find file '#{filename}'"
20
20
  end
21
21
  begin
@@ -94,8 +94,6 @@ module Vertigo
94
94
  options[:mute]=true
95
95
  end
96
96
 
97
-
98
-
99
97
  parser.on("-v", "--version", "Show version number") do
100
98
  puts VERSION
101
99
  exit(true)
@@ -68,9 +68,9 @@ module Vertigo
68
68
  code.newline
69
69
  code << "procedure toggle(signal s : inout std_logic) is"
70
70
  code << "begin"
71
- code << " wait until rising_edge(clk);"
71
+ code << " wait until rising_edge(#{@clk_name});"
72
72
  code << " s <=not(s);"
73
- code << " wait until rising_edge(clk);"
73
+ code << " wait until rising_edge(#{@clk_name});"
74
74
  code << " s <=not(s);"
75
75
  code << "end procedure;"
76
76
  code.newline
@@ -1,3 +1,3 @@
1
1
  module Vertigo
2
- VERSION="0.8.13"
2
+ VERSION="0.8.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vertigo_vhdl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.13
4
+ version: 0.8.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Christophe Le Lann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Ruby handwritten VHDL parser and utilities
14
14
  email: jean-christophe.le_lann@ensta-bretagne.fr