Git Product home page Git Product logo

Comments (4)

Nitcloud avatar Nitcloud commented on June 8, 2024

应该是 input_key 里面含有 input 这个敏感字段,被识别成端口了,改成 key_i 试试看有没有效果,不过这点我在写解释器的时候应该考虑到了,方便的话能复制出你的端口申明这段代码吗,有时间我做个测试。

from digital-ide.

hhucchenyixiao avatar hhucchenyixiao commented on June 8, 2024

我改成key_in, data_in 后问题的确解决了。

你可以用这个代码测试

module a (
    input  input_a,
    input  input_b,
    output output_c
);

    output_c = input_a & input_b;

endmodule

我试了下也可以触发这个bug

wire  	_c;
wire  	output_c;
wire  	_c;

a u_a(
	//ports
	._c       		( _c       		),
	.input_b  		( input_b  		),
	._b       		( _b       		),
	.input_a  		( input_a  		),
	._a       		( _a       		),
	.input_b  		( input_b  		),
	._b       		( _b       		),
	.output_c 		( output_c 		),
	._c       		( _c       		)
);

from digital-ide.

hhucchenyixiao avatar hhucchenyixiao commented on June 8, 2024

刚刚我发现例化还有个错误
···verilog
output reg [`CLOG2(MEM_DEPTH) - 1:0] mem_address,

被例化成了
```verilog
wire [`CLOG2[MEM_DEPTH]-1:0] mem_address          ;

里面应该是( )但变成了[ ]

from digital-ide.

Nitcloud avatar Nitcloud commented on June 8, 2024

这个写法确实没考虑到,下个版本修复。

from digital-ide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.