abc_d
modülünü başlatmaya çalışıyorum ve tüm bağlantı noktalarının abc
üst modülünde G/Ç bağlantı noktaları olarak bildirilmesini istemiyorum. 'u output
bağlantı noktası olarak bildirmek için hariç tutmak istiyorum. G/Ç bağlantı noktası bildirimleri, maket modunda regexp kullanarak nasıl kaldırılır
module abc(/*AUTOARG*/);
/*AUTOINPUT*/
/*AUTOOUTPUT*/
/*AUTOWIRE*/
abc_d u_abc_d(/*AUTOINST*/);
endmodule
//Localvariables:
//verilog-auto-output-ignore-regexp:("ex_out_port")
//END:
beklenen kod:
module abc (/*AUTOARG*/
/Inputs
input port1;
input port2;
/Outputs
output port3;
output port4;
/*AUTOWIRE*/
wire ex_out_port;
//Instance
abc_d u_abc_d(/*AUTOINST*/
.port1 (port1),
.port2 (port2),
.port3 (port3),
.port4 (port4),
.ex_out_port (ex_out_port)):
endmodule
İlgili zaten cevap sorular:
- Using Regular Expressions for Verilog Port Mapping
- using emacs auto's to instansiate a stub module (inputs=0, outputs=[]