csInfo #4054
Updated by Redmine Admin 7 days ago
{{kroki(symbolator) module demo_device #( //# {{}} parameter SIZE = 8, parameter RESET_ACTIVE_LEVEL = 1 ) ( //# {{clocks|Clocking}} input wire clock, //# {{control|Control signals}} input wire reset, input wire enable, //# {{data|Data ports}} input wire [SIZE-1:0] data_in, output wire [SIZE-1:0] data_out ); // ... endmodule }} The diagram above is shown by just simply put sample diagram code copied from [kroki.io](https://kroki.io) inside a macro. The macro language is described in [redmine-kroki](https://github.com/JeffDess/redmine-kroki) plugin page. This is the exact code: ``` {{kroki(symbolator) module demo_device #( //# {{}} parameter SIZE = 8, parameter RESET_ACTIVE_LEVEL = 1 ) ( //# {{clocks|Clocking}} input wire clock, //# {{control|Control signals}} input wire reset, input wire enable, //# {{data|Data ports}} input wire [SIZE-1:0] data_in, output wire [SIZE-1:0] data_out ); // ... endmodule }} ```