Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • gitkeep
  • dev protected
  • Issue/2507-aims
  • Issue/2431-fixesInNotificationFooter
  • Issue/2309-docs
  • Hotfix/2354-emailNotificationPID
  • Issue/2263-changeMailingDomain
  • Issue/2158-emailServicedesk
  • Issue/1910-MigrationtoNET6.0
  • Sprint/2022-01
  • Sprint/2021-23
  • Issue/1746-ApplicationProfileStoringMethod
  • Sprint/2021-08
  • Product/202-userInvitation
  • Topic/1453-userInvitation
  • Sprint/2021-04
  • Product/789-userContactEmail
  • Topic/1294-contactChangeFunctionality
  • Sprint/2021-03
  • v2.7.0
  • v2.6.0
  • v2.5.2
  • v2.5.1
  • v2.5.0
  • v2.4.0
  • v2.3.0
  • v2.2.0
  • v2.1.0
  • v2.0.0
  • v1.6.0
  • v1.5.0
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.0
36 results

NotificationConfigurationTest.cs

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    alu8.v 677 B
    module alu8 (input [7:0] left, right, input status_in, input [1:0] opcode, output reg status_out, output reg [7:0] result);
    
        always @(left, right, status_in, opcode) begin
            case (opcode)
                0: {status_out, result} = left + right + status_in; // opcode 0: add with carry
                1: {status_out, result} = left - right - status_in; // opcode 1: subtract with borrow
                2: {status_out, result} = {1'b0, left & right};     // opcode 2: and
                3: {status_out, result} = {1'b0, left | right};     // opcode 3: or
                default: result = 8'bX;                             // default: undefined result
            endcase
        end
    
    endmodule