Skip to content

Commit b58941e

Browse files
authored
Update README.md
1 parent fa47ae7 commit b58941e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Machine code is a computer program written in machine language instructions that
1010

1111
![](http://i.imgur.com/9AWZHe2.jpg)
1212

13-
Để tạo ra mã máy trên một mạch để nghiên cứu thì không phải không thể. Bạn có thể chọn [mạch FPGA](https://vi.wikipedia.org/wiki/Field-programmable_gate_array) ở [cửa hàng](https://www.amazon.com/slp/fpga-boards/ef66a6u55eou46p) hay phòng thí nghiệm thực hành của nhà trường. Sử dụng các ngôn ngữ VHDL (VHSIC hardware description language) để viết CPU cho mạch FPGA. Bạn tham khảo [phần 1](http://labs.domipheus.com/blog/designing-a-cpu-in-vhdl-part-1-rationale-tools-method/), [phần 2](http://labs.domipheus.com/blog/designing-a-cpu-in-vhdl-part-2-xilinx-ise-suite-register-file-testing/) ở đây. Sau khi viết chương trình CPU biên dịch trong Xilinx ISE thì bạn tiến hành nạp code xuống FPGA. Bạn cần chuẩn mạch FPGA trắng, mạch nạp và kết nối mạch nạp với cổng usb của FPGA, kết nối cổng nguồn với cổng usb của PC. Để mạch FPGA có thể giao tiếp với PC để truyền dữ liệu thì bạn cài driver cẩn thận (có sẵn khi mua mạch). Bạn có thể tham khảo video [nạp code xuống ROM của mạch FPGA](https://youtu.be/DKFhqLffHF4)
13+
Để tạo ra mã máy trên một mạch để nghiên cứu thì không phải không thể. Bạn có thể chọn [mạch FPGA](https://vi.wikipedia.org/wiki/Field-programmable_gate_array) ở [cửa hàng](https://www.amazon.com/slp/fpga-boards/ef66a6u55eou46p) hay phòng thí nghiệm thực hành của nhà trường. Sử dụng các ngôn ngữ VHDL (VHSIC hardware description language) để viết CPU cho mạch FPGA. Bạn tham khảo [phần 1](http://labs.domipheus.com/blog/designing-a-cpu-in-vhdl-part-1-rationale-tools-method/), [phần 2](http://labs.domipheus.com/blog/designing-a-cpu-in-vhdl-part-2-xilinx-ise-suite-register-file-testing/) ở đây. Sau khi viết chương trình CPU biên dịch trong Xilinx ISE thì bạn tiến hành nạp code xuống FPGA. Bạn cần chuẩn mạch FPGA trắng, mạch nạp và kết nối mạch nạp với cổng usb của FPGA, kết nối cổng nguồn với cổng usb của PC. Để mạch FPGA có thể giao tiếp với PC để truyền dữ liệu thì bạn cài driver cẩn thận (đĩa driver có sẵn khi mua mạch). Bạn có thể tham khảo video [nạp code xuống ROM của mạch FPGA](https://youtu.be/DKFhqLffHF4)
1414

1515
## Assembly language
1616
## Cross Assembler

0 commit comments

Comments
 (0)