Article View: comp.arch
Article #616Re: vector length CSR?
From: Scott Lurndal
Date: Mon, 09 Nov 2026 15:52
Date: Mon, 09 Nov 2026 15:52
39 lines
2498 bytes
2498 bytes
George Neuner <gneuner2@comcast.net> writes: >On Sun, 8 Nov 2026 10:03:01 -0500, Robert Finch <robfi680@gmail.com> >wrote: >>>> I looked at the RISCV vector extension model and they have it just as a >>>> CSR. Makes me think that is an acceptable solution. >>> >>> It is for the case where the vector unit is separate and asynchronous. >> >>I did not realize that was the use case for RISCV. > >I don't know anything about RISCV ... I was speaking generally. > >Any unit might have (hidden) control registers that need to be set for >a particular operation to be performed. In fact, most do. > >The reason to have /visible/ setup registers is to allow for >operations that run asynchronously and automatically. Generally you >need at least to describe the input and what to do if there is an >error ... typically much more information than can be packed into a >CPU instruction. > > >E.g., consider a DMA transfer: source address, target address, >transfer width, transfer count. > >Ok, /maybe/ that's a 4 source instruction, but more likely it is 4 >mmap registers on your DMA unit that have to be set. For the most part, a "DMA unit" has been obsolete for three decades. For modern devices (e.g. PCI Express devices), DMA is handled by the device itself by simply sending a Memory Write TLP from the device to the host. The host may have a mapping unit (IOMMU/SMMU) in the path that will translate the address in the TLP before it reaches the host interconnect structures (mesh, crossbar switch, et alia) leading to memory (or in some cases to host CSRs).
Technical Details
Message-ID:
<d%lIS.3247$Kg3.2913@fx41.iad>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.iad.POSTED!not-for-mailReferences:
<11cpqih$acf5$1@dont-email.me> <sgu0flpndaqltpdbft40fghmi7vk78q2hs@4ax.com> <11cq2v7$dh5b$1@dont-email.me> <8jk1fl182pskj3fsmp4ju6qf420pgl0htg@4ax.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.iad.POSTED!not-for-mail X-newsreader: xrn 9.03-beta-14-64bit Sender: scott@dragon.sl.home (Scott Lurndal) From: scott@slp53.sl.home (Scott Lurndal) Reply-To: slp53@pacbell.net Subject: Re: vector length CSR? Newsgroups: comp.arch References: <11cpqih$acf5$1@dont-email.me> <sgu0flpndaqltpdbft40fghmi7vk78q2hs@4ax.com> <11cq2v7$dh5b$1@dont-email.me> <8jk1fl182pskj3fsmp4ju6qf420pgl0htg@4ax.com> Lines: 39 Message-ID: <d%lIS.3247$Kg3.2913@fx41.iad> X-Complaints-To: abuse@usenetserver.com NNTP-Posting-Date: Mon, 09 Nov 2026 15:52:41 UTC Organization: UsenetServer - www.usenetserver.com Date: Mon, 09 Nov 2026 15:52:41 GMT X-Received-Bytes: 2277