Advertisement
Guest User

Untitled

a guest
Jan 12th, 2022
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. ...
  2. make[1]: Leaving directory '/builddir/build/BUILD/yosys-61324cf55fc5c5237161d4cee157c121fe115fa1/manual/PRESENTATION_ExOth'
  3. + make -C PRESENTATION_Prog
  4. make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
  5. make[1]: Entering directory '/builddir/build/BUILD/yosys-61324cf55fc5c5237161d4cee157c121fe115fa1/manual/PRESENTATION_Prog'
  6. ../../yosys-config --exec --cxx -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -ggdb -I/usr/include/yosys -MD -MP -D_YOSYS_ -fPIC -I/usr/include -std=c++11 -Os -DYOSYS_ENABLE_READLINE -DYOSYS_ENABLE_PLUGINS -DYOSYS_ENABLE_GLOB -DYOSYS_ENABLE_ZLIB -DYOSYS_ENABLE_TCL -DYOSYS_ENABLE_ABC -DYOSYS_ENABLE_COVER -I../.. --ldflags -o my_cmd.so -shared my_cmd.cc --ldlibs
  7. my_cmd.cc: In member function 'virtual void {anonymous}::MyPass::execute(std::vector<std::__cxx11::basic_string<char> >, Yosys::RTLIL::Design*)':
  8. my_cmd.cc:17:26: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'int' [-Wformat=]
  9. 17 | log(" %s (%zd wires, %zd cells)\n", log_id(mod),
  10. | ~~^
  11. | |
  12. | long int
  13. | %d
  14. 18 | GetSize(mod->wires()), GetSize(mod->cells()));
  15. | ~~~~~~~~~~~~~~~~~~~~~
  16. | |
  17. | int
  18. my_cmd.cc:17:37: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'int' [-Wformat=]
  19. 17 | log(" %s (%zd wires, %zd cells)\n", log_id(mod),
  20. | ~~^
  21. | |
  22. | long int
  23. | %d
  24. 18 | GetSize(mod->wires()), GetSize(mod->cells()));
  25. | ~~~~~~~~~~~~~~~~~~~~~
  26. | |
  27. | int
  28. ../../yosys -Ql test0.log_new -m ./my_cmd.so -p 'my_cmd foo bar' absval_ref.v
  29. -- Parsing `absval_ref.v' using frontend ` -vlog2k' --
  30. 1. Executing Verilog-2005 frontend: absval_ref.v
  31. Parsing Verilog input from `absval_ref.v' to AST representation.
  32. Storing AST representation for module `$abstract\absval_ref'.
  33. Successfully finished Verilog frontend.
  34. -- Running command `my_cmd foo bar' --
  35. Arguments to my_cmd:
  36. my_cmd
  37. foo
  38. bar
  39. Modules in current design:
  40. $abstract\absval_ref (0 wires, 0 cells)
  41. End of script. Logfile hash: a25069ff9d, CPU: user 0.00s system 0.00s, MEM: 11.91 MB peak
  42. Yosys 0.13+3 (git sha1 UNKNOWN, gcc 11.2.1 -O2 -fexceptions -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Os)
  43. Time spent: 94% 2x read_verilog (0 sec), 3% 1x my_cmd (0 sec), ...
  44. mv test0.log_new test0.log
  45. ../../yosys -Ql test1.log_new -m ./my_cmd.so -p 'clean; test1; dump' absval_ref.v
  46. -- Parsing `absval_ref.v' using frontend ` -vlog2k' --
  47. 1. Executing Verilog-2005 frontend: absval_ref.v
  48. Parsing Verilog input from `absval_ref.v' to AST representation.
  49. Storing AST representation for module `$abstract\absval_ref'.
  50. Successfully finished Verilog frontend.
  51. -- Running command `clean; test1; dump' --
  52. Name of this module: absval
  53. autoidx 4
  54. module \absval
  55. wire width 4 $auto$my_cmd.cc:41:execute$1
  56. wire width 4 output 2 \y
  57. wire width 4 input 1 \a
  58. cell $mux $auto$my_cmd.cc:43:execute$3
  59. parameter \WIDTH 4
  60. connect \Y \y
  61. connect \S \a [3]
  62. connect \B $auto$my_cmd.cc:41:execute$1
  63. connect \A \a
  64. end
  65. cell $neg $auto$my_cmd.cc:42:execute$2
  66. parameter \Y_WIDTH 4
  67. parameter \A_WIDTH 4
  68. parameter \A_SIGNED 1
  69. connect \Y $auto$my_cmd.cc:41:execute$1
  70. connect \A \a
  71. end
  72. end
  73. attribute \cells_not_processed 1
  74. attribute \src "absval_ref.v:1.1-3.10"
  75. module $abstract\absval_ref
  76. end
  77. End of script. Logfile hash: 01cda1039c, CPU: user 0.01s system 0.00s, MEM: 11.89 MB peak
  78. Yosys 0.13+3 (git sha1 UNKNOWN, gcc 11.2.1 -O2 -fexceptions -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Os)
  79. Time spent: 73% 1x clean (0 sec), 18% 2x read_verilog (0 sec), ...
  80. mv test1.log_new test1.log
  81. ../../yosys -Ql test2.log_new -m ./my_cmd.so -p 'test2' sigmap_test.v
  82. -- Parsing `sigmap_test.v' using frontend ` -vlog2k' --
  83. 1. Executing Verilog-2005 frontend: sigmap_test.v
  84. terminate called after throwing an instance of 'std::out_of_range'
  85. what(): dict::at()
  86. make[1]: *** [Makefile:19: test2.log] Aborted (core dumped)
  87. make[1]: Leaving directory '/builddir/build/BUILD/yosys-61324cf55fc5c5237161d4cee157c121fe115fa1/manual/PRESENTATION_Prog'
  88. make: *** [Makefile:897: manual] Error 2
  89.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement