no2miscpatch.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. commit 01b6ac0c7af5b54cbb565fd20eca5777be02c7ef
  2. Author: Jakub Duchniewicz <j.duchniewicz@gmail.com>
  3. Date: Wed Jan 8 13:52:29 2025 +0100
  4. Update to build with Systemverilog.
  5. Signed-off-by: Jakub Duchniewicz <j.duchniewicz@gmail.com>
  6. diff --git a/rtl/prims.v b/rtl/prims.v
  7. index 9bc5fbc..df03506 100644
  8. --- a/rtl/prims.v
  9. +++ b/rtl/prims.v
  10. @@ -28,7 +28,7 @@ module lut4_n #(
  11. genvar i;
  12. generate
  13. for (i=0; i<WIDTH; i=i+1)
  14. - begin : bit
  15. + begin : gen_bit
  16. (* RBEL_X=RBEL_X *)
  17. (* RBEL_Y=RBEL_Y+(RBEL_Z+i)>>3 *)
  18. (* RBEL_Z=(RBEL_Z+i)&7 *)
  19. @@ -72,7 +72,7 @@ module lut4_carry_n #(
  20. genvar i;
  21. generate
  22. for (i=0; i<WIDTH; i=i+1)
  23. - begin : bit
  24. + begin : gen_bit
  25. (* RBEL_X=RBEL_X *)
  26. (* RBEL_Y=RBEL_Y+(RBEL_Z+i)>>3 *)
  27. (* RBEL_Z=(RBEL_Z+i)&7 *)
  28. @@ -114,7 +114,7 @@ module dff_n #(
  29. genvar i;
  30. generate
  31. for (i=0; i<WIDTH; i=i+1)
  32. - begin : bit
  33. + begin : gen_bit
  34. (* RBEL_X=RBEL_X *)
  35. (* RBEL_Y=RBEL_Y+(RBEL_Z+i)>>3 *)
  36. (* RBEL_Z=(RBEL_Z+i)&7 *)
  37. @@ -147,7 +147,7 @@ module dffe_n #(
  38. genvar i;
  39. generate
  40. for (i=0; i<WIDTH; i=i+1)
  41. - begin : bit
  42. + begin : gen_bit
  43. (* RBEL_X=RBEL_X *)
  44. (* RBEL_Y=RBEL_Y+((RBEL_Z+i)>>3) *)
  45. (* RBEL_Z=(RBEL_Z+i)&7 *)
  46. @@ -183,7 +183,7 @@ module dffer_n #(
  47. genvar i;
  48. generate
  49. for (i=0; i<WIDTH; i=i+1)
  50. - begin : bit
  51. + begin : gen_bit
  52. if (RSTVAL[i] == 1'b1)
  53. (* RBEL_X=RBEL_X *)
  54. (* RBEL_Y=RBEL_Y+((RBEL_Z+i)>>3) *)
  55. @@ -234,7 +234,7 @@ module dffesr_n #(
  56. genvar i;
  57. generate
  58. for (i=0; i<WIDTH; i=i+1)
  59. - begin : bit
  60. + begin : gen_bit
  61. if (RSTVAL[i] == 1'b1)
  62. (* RBEL_X=RBEL_X *)
  63. (* RBEL_Y=RBEL_Y+((RBEL_Z+i)>>3) *)