mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 13:57:18 +02:00
Add the load/x instruction for bit selects.
This commit is contained in:
+9
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 2001 Stephen Williams ([email protected])
|
||||
*
|
||||
* $Id: opcodes.txt,v 1.26 2001/07/19 04:40:55 steve Exp $
|
||||
* $Id: opcodes.txt,v 1.27 2001/07/22 00:04:50 steve Exp $
|
||||
*/
|
||||
|
||||
|
||||
@@ -233,6 +233,14 @@ Bit address zero is the LSB of the first memory word. This
|
||||
instruction loads only a single bit.
|
||||
|
||||
|
||||
* %load/x <bit>, <functor-label>, <idx>
|
||||
|
||||
This is an indexed load. It uses the contents of the specified index
|
||||
register to select a bit from an array based at <functor-label>. The
|
||||
bit is pulled from the addressed functor and loaded into the
|
||||
destination bit. This function does not do any bounds checking.
|
||||
|
||||
|
||||
* %mod <bit-l>, <bit-r>, <wid>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user