Skip to content

MIAFOREVER/SimpleCircuit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Circuit


How to use

1.I designed a simple menu for users.

1.Create a gate(or a port).
2.Connect two gates.
3.Disconnect two gates.
4.Run the program.
5.Display the gate.
6.Clear all connection.
7.Set the port sign.
8.Rename the port name.
9.Quit.

2.Then you need create more gates/ports.
3.Connect them.
4.Set the port sign.
5.Run.
6.Show the result.

Example

test.in 是一个一位全加器.

line 29 第三个数字对应Ai
line 30 第三个数字对应Bi
line 31 第三个数字对应Ci
输出结果的 id 4 output对应 Si
输出结果的 id 5 output对应 Ci+1

Version v 0.1

About

A simulator of circuit with no GUI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages