[libre-riscv-dev] [Bug 347] New: add setb (to CR pipeline?)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun May 24 20:57:09 BST 2020


            Bug ID: 347
           Summary: add setb (to CR pipeline?)
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: PC
                OS: Mac OS
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: lkcl at lkcl.net
                CC: libre-riscv-dev at lists.libre-riscv.org
   NLnet milestone: ---

we should add setb and the most likely place to add it is the CR pipeline.

however i just spotted this though:

class DecodeCRIn(Elaboratable):

            with m.Case(CRInSel.BFA):
                comb += self.cr_bitfield.data.eq(self.dec.FormX.BFA[0:-1])
                comb += self.cr_bitfield.ok.eq(1)

# Set Boolean 


* setb RT,BFA

    if CR[4*BFA+32] = 1 then
    else if CR[4*BFA+33]=1 then
       RT <- 0x0000_0000_0000_0001
       RT <- 0x0000_0000_0000_0000

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-riscv-dev mailing list