HDLRuby 2.11.7 → 2.11.8

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: 3a24b730862e801cb34298c05648bf25586a22e0010821e890e05bd31848f3d4
4
- data.tar.gz: a9b88f03c706f758c08cb3438a92f180ad977257f2c5b56e5a40c95bd83f6ea8
3
+ metadata.gz: 7b7d0296f617dc4b015e423c6f5b3e381fc3d91d9537a1bf4adf3fcc8e3a1f3c
4
+ data.tar.gz: 957f7763c2452bc1b96e1301fe2aebadd081a2b4ea6d282ae5907768b28b0e85
5
5
  SHA512:
6
- metadata.gz: 4d7e6d175b79fb2d0702bebebda2ec00042508a303865e06dad98ca999117ec664c7f9cf9db514e95f03802c8b07e5abc06e7b25d329a2d715948ff4333cb8ca
7
- data.tar.gz: 9f9d6b129c9caf9a13165fc54e6158b1dcef292117224690e0066f561e53ea006597fafc9f03585bc82d2868debda933528a5c78eea0621ebb2fbd0794087610
6
+ metadata.gz: 28529796983feba1bba6502a63a9ace24e42f08410ba4afe70fc48bba1b36ba17bac3cdde95ef245590e5e3028428a477e59ef311e5eb7c9eaee48b394f01217
7
+ data.tar.gz: 90e23aa3e7cbfa2ac5c397a58a8b06b2f4798a72ca491a6134b4d7c694eba6952e02e8fc0e91b10aca8790129977f893ca67c626c2aa28845596365ad65560f1
@@ -1111,7 +1111,7 @@ extern Value binary(Value (*oper)(Value,Value,Value));
1111
1111
  * @param num the number of values to select from.
1112
1112
  * @return the destination.
1113
1113
  **/
1114
- extern Value select(unsigned int num);
1114
+ extern Value hselect(unsigned int num);
1115
1115
 
1116
1116
  /** Cast calculation.
1117
1117
  * @param typ the type to cast to.
@@ -108,7 +108,7 @@ Value binary(Value (*oper)(Value,Value,Value)) {
108
108
 
109
109
  /** Selection calculation.
110
110
  * @param num the number of choices to select within. */
111
- Value select(unsigned int num) {
111
+ Value hselect(unsigned int num) {
112
112
  Value* vals = alloca(num*sizeof(Value));
113
113
  int i;
114
114
  /* Get the values to concat from the stack. */
@@ -2630,7 +2630,7 @@ module HDLRuby::Low
2630
2630
  end
2631
2631
  # Compute the resulting selection.
2632
2632
  res << (" " * (level*3))
2633
- res << "select(#{expressions.size});\n"
2633
+ res << "hselect(#{expressions.size});\n"
2634
2634
  # Restore the value pool state.
2635
2635
  res << (" " * (level*3)) << "RV;\n"
2636
2636
  return res
@@ -1,3 +1,3 @@
1
1
  module HDLRuby
2
- VERSION = "2.11.7"
2
+ VERSION = "2.11.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HDLRuby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.7
4
+ version: 2.11.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lovic Gauthier