Skip to content

Commit

Permalink
Working on predictions and the npcap is not working correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Belanger committed Jun 22, 2019
1 parent 1e6d3b6 commit ed26b64
Show file tree
Hide file tree
Showing 10 changed files with 7,808,301 additions and 14 deletions.
2 changes: 1 addition & 1 deletion DECaxp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ target_link_libraries(DECaxp_Generate_SROM PRIVATE
-lxml2
-lm
-liconv
/cygdrive/c/WINDOWS/system32/wpcap.dll)
/cygdrive/c/WINDOWS/system32/npcap/wpcap.dll)

target_include_directories(DECaxp_Generate_SROM PRIVATE
${PROJECT_SOURCE_DIR}/Includes)
Expand Down
4 changes: 2 additions & 2 deletions Includes/CPU/Ibox/AXP_21264_Predictions.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ typedef struct
* The way this table work is, if the local and global predictions do not
* match, if the local prediction was correct, then we decrement the 2-bit
* saturation counter. Otherwise, we increment the 2-bit saturation counter.
* If the local and golbal predictions match, we leave the counter alone.
* If the local and global predictions match, we leave the counter alone.
*/
typedef struct
{
Expand All @@ -140,7 +140,7 @@ typedef struct
* The DECR is called when a branch is not actually taken.
*
* NOTE: We do the following, when incrementing and decrementing, to be able
* to provide a bit of a historesis, to precent alternating between
* to provide a bit of a hysteresis, to percent alternating between
* the FAVORS_NOT_TAKEN and FAVORS_TAKEN states. Alternating between
* taken and not taken will still properly predict the branch 50% of
* the time.
Expand Down
2 changes: 1 addition & 1 deletion Includes/Devices/Ethernet/AXP_Ethernet.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef _AXP_ETHERNET_H_
#define _AXP_ETHERNET_H_
#define HAVE_REMOTE 1
#include <pcap.h>
#include <pcap/pcap.h>

#define AXP_ETH_READ_TIMEOUT 1000
#define AXP_MAC_ADDR_LEN 6
Expand Down
2 changes: 1 addition & 1 deletion Tests/AXP_21264_Cache_Test.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int main()

printf("\nAXP 21264 Data and Instruction Cache Tester\n");
AXP_PUT_PC(zeroPC, zeroPCval);
line = AXP_Allocate_Block(-lineLen);
line = AXP_Allocate_Block(-lineLen, NULL);
cpu = (AXP_21264_CPU *) AXP_Allocate_Block(AXP_21264_CPU_BLK);

/*
Expand Down
Loading

0 comments on commit ed26b64

Please sign in to comment.