-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
Description
Author Name: Mark Thompson
Original Redmine Message: 2883 from https://www.veripool.org
I am trying to auto-connect using wires. According to the wiki
verilog-auto-wire (function)
Expand AUTOWIRE statements, as part of M-x verilog-auto. Make wire statements for instantiations outputs that aren't already declared. verilog-auto-wire-type may be used to change the datatype of the declarations.
When I run autos I expect to see a wire type created but instead I get "logic" type
/*AUTOWIRE*/
// Beginning of automatic wires (for undeclared instantiated-module outputs)
logic outA; // From instA of dly.v, ...
// End of automatics
Here is my test module before expansion with autos:
module test (
input clk,
input siga,
input sigb,
output sigc
);
/*AUTOWIRE*/
/* dly AUTO_TEMPLATE (
.input (siga),
); */
dly instA (
/*AUTOINST*/);
/* dly AUTO_TEMPLATE (
.input (outA),
); */
dly instB (
/*AUTOINST*/);
endmodule // test
module dly (
input clk,
input inA,
output outA
);
always @(posedge clk) begin
outA <= inA;
end
endmodule // dly
// Local Variables:
// verilog-auto-wire-type:"logic"
// End: